diff --git a/imap_processing/tests/conftest.py b/imap_processing/tests/conftest.py index 49a12b01c..c1decb21f 100644 --- a/imap_processing/tests/conftest.py +++ b/imap_processing/tests/conftest.py @@ -19,15 +19,6 @@ def _set_global_config(monkeypatch, tmp_path): ) -@pytest.fixture(scope="session") -def monkeypatch_session(): - from _pytest.monkeypatch import MonkeyPatch - - m = MonkeyPatch() - yield m - m.undo() - - @pytest.fixture(scope="session") def imap_tests_path(): return imap_module_directory / "tests" @@ -46,7 +37,7 @@ def _autoclear_spice(): @pytest.fixture(scope="session") def spice_test_data_path(imap_tests_path): - return imap_tests_path / "spice/test_data" + return imap_module_directory.parent / "tools/tests/test_data/spice" @pytest.fixture() diff --git a/imap_processing/tests/spice/test_data/imap_test_metakernel.template b/tools/tests/test_data/spice/imap_test_metakernel.template similarity index 100% rename from imap_processing/tests/spice/test_data/imap_test_metakernel.template rename to tools/tests/test_data/spice/imap_test_metakernel.template