Skip to content

Commit 3c34c09

Browse files
committed
Try using old fixtures with 2.6
1 parent 8f4fa40 commit 3c34c09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

aiida_test_cache/mock_code/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
from packaging.version import Version
2525

2626
if Version(aiida_version) >= Version('2.6.0'):
27-
aiida_core_fixtures = 'aiida.tools.pytest_fixtures'
27+
# DEBUG:
28+
aiida_core_fixtures = 'aiida.manage.tests.pytest_fixtures'
29+
# aiida_core_fixtures = 'aiida.tools.pytest_fixtures'
2830
else:
2931
aiida_core_fixtures = 'aiida.manage.tests.pytest_fixtures'
3032
pytest_plugins = [aiida_core_fixtures]

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
]
1111

1212
# Compatibility with old aiida-core fixtures
13-
if Version(aiida_version) < Version('2.6.0'):
13+
if Version(aiida_version) < Version('2.7.0'):
1414

1515
@pytest.fixture
1616
def aiida_profile_clean(clear_database):

0 commit comments

Comments
 (0)