squirrel.integration_test.helpers
ΒΆ
This module defines functions that should be importable for integration tests and unit tests as well.
We use a separate module from conftest.py to circumvent imports from conftest, since this name can be ambiguous when multiple conftest.py exist (e.g. for unit and integration tests) in one run. Not importing from conftest is a best practice described in the note here: https://pytest.org/en/6.2.x/writing_plugins.html#conftest-py-local-per-directory-plugins
This means we only use conftest.py to define fixtures which will automatically be shared with the respective scope.