Open danielhollas opened 3 days ago
Instead of manage/tests/pytest_fixtures.py use tools/pytest_fixtures/ introduced in aiida 2.6.0. These new fixtures use the sqlite_dos storage backend by default. See https://aiida.readthedocs.io/projects/aiida-core/en/stable/topics/plugins.html#plugin-test-fixtures
manage/tests/pytest_fixtures.py
tools/pytest_fixtures/
sqlite_dos
This should hopefully be more-or-less a drop-in replacement.
By quick inspection, the only aiida-core fixture that's in use here is the aiida_localhost in mock_code
aiida_localhost
mock_code
https://github.com/aiidateam/aiida-testing/blob/2bf9dfaef5d7658b47f5b31dd1ce81da5c43c53c/aiida_testing/mock_code/__init__.py#L20
https://github.com/aiidateam/aiida-testing/blob/2bf9dfaef5d7658b47f5b31dd1ce81da5c43c53c/aiida_testing/mock_code/_fixtures.py#L121
sounds good
Instead of
manage/tests/pytest_fixtures.py
usetools/pytest_fixtures/
introduced in aiida 2.6.0. These new fixtures use thesqlite_dos
storage backend by default. See https://aiida.readthedocs.io/projects/aiida-core/en/stable/topics/plugins.html#plugin-test-fixturesThis should hopefully be more-or-less a drop-in replacement.