From 289b1ed27f6a7bd5d57df79f33e7c9d0fe89b09d Mon Sep 17 00:00:00 2001 From: Alif Be Date: Fri, 12 Jun 2026 11:36:47 +0200 Subject: [PATCH 1/2] TST: Set autouse=False for datatree fixture --- tests/test_fmu_copy_revision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_fmu_copy_revision.py b/tests/test_fmu_copy_revision.py index 605f35e8a..8123d89fd 100644 --- a/tests/test_fmu_copy_revision.py +++ b/tests/test_fmu_copy_revision.py @@ -41,7 +41,7 @@ ] -@pytest.fixture(name="datatree", scope="session", autouse=True) +@pytest.fixture(name="datatree", scope="session") def fixture_datatree(tmp_path_factory): """Create a tmp folder structure for testing.""" tmppath = tmp_path_factory.mktemp("data") From 599990e714a37b529453c7a07fc5e47c18051d21 Mon Sep 17 00:00:00 2001 From: Alif Be Date: Fri, 12 Jun 2026 12:15:59 +0200 Subject: [PATCH 2/2] Revert --- tests/test_fmu_copy_revision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_fmu_copy_revision.py b/tests/test_fmu_copy_revision.py index 8123d89fd..605f35e8a 100644 --- a/tests/test_fmu_copy_revision.py +++ b/tests/test_fmu_copy_revision.py @@ -41,7 +41,7 @@ ] -@pytest.fixture(name="datatree", scope="session") +@pytest.fixture(name="datatree", scope="session", autouse=True) def fixture_datatree(tmp_path_factory): """Create a tmp folder structure for testing.""" tmppath = tmp_path_factory.mktemp("data")