Skip to content

Commit

Permalink
skip pgtest related testcases until aiidateam#1722 is fixed (aiidatea…
Browse files Browse the repository at this point in the history
  • Loading branch information
DropD authored and sphuber committed Jul 6, 2018
1 parent 0bca139 commit 777c16c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .ci/test_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from aiida.backends.profile import BACKEND_DJANGO, BACKEND_SQLA


@unittest.skip('wait until #1722 is fixed')
class FixtureManagerTestCase(unittest.TestCase):
"""Test the FixtureManager class"""

Expand Down
7 changes: 6 additions & 1 deletion .ci/test_plugin_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def determine_backend():
return BACKEND_DJANGO if os.environ.get('TEST_AIIDA_BACKEND', BACKEND_DJANGO) == BACKEND_DJANGO else BACKEND_SQLA


@unittest.skip('wait until #1722 is fixed')
class PluginTestCase1(PluginTestCase):
"""
Test the PluginTestCase from utils.fixtures
Expand Down Expand Up @@ -88,6 +89,7 @@ def test_tear_down(self):
shutil.rmtree(self.temp_dir)


@unittest.skip('wait until #1722 is fixed')
class PluginTestCase2(PluginTestCase):
"""
Second PluginTestCase.
Expand All @@ -106,4 +108,7 @@ def test_stupid(self):
if __name__ == '__main__':
MODULE = sys.modules[__name__]
SUITE = unittest.defaultTestLoader.loadTestsFromModule(MODULE)
TestRunner().run(SUITE, backend=determine_backend())
# wait until #1722 is fixed
# circumvent unused-import, remove when obsolete
RUNNER = TestRunner()
# ~ TestRunner().run(SUITE, backend=determine_backend())
1 change: 1 addition & 0 deletions .ci/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def test_postgres_failure(self):
self.assertFalse(result.exception, msg=get_debug_msg(result))


@unittest.skip('wait until #1722 is fixed')
class SetupTestCase(unittest.TestCase):
"""Test ``verdi setup``"""

Expand Down
1 change: 1 addition & 0 deletions aiida/control/tests/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def _try_connect_always_fail(**kwargs): # pylint: disable=unused-argument
return False


@unittest.skip('wait until #1722 is fixed')
class PostgresTest(unittest.TestCase):
"""Test the public API provided by the `Postgres` class"""

Expand Down

0 comments on commit 777c16c

Please sign in to comment.