From e397968a49c1d71fcd6cd6d8576bfa844265b9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Berland?= Date: Tue, 29 Oct 2024 10:39:09 +0100 Subject: [PATCH] Make test fixture minimum_case really minimal --- tests/ert/conftest.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/ert/conftest.py b/tests/ert/conftest.py index a2a34f2e232..1cfd95a29c4 100644 --- a/tests/ert/conftest.py +++ b/tests/ert/conftest.py @@ -163,10 +163,7 @@ def snake_oil_case(setup_case): @pytest.fixture() def minimum_case(use_tmpdir): - with open("minimum_config", "w", encoding="utf-8") as fout: - fout.write( - "NUM_REALIZATIONS 10\nQUEUE_OPTION LOCAL MAX_RUNNING 50\nMAX_RUNTIME 42" - ) + Path("minimum_config").write_text("NUM_REALIZATIONS 1", encoding="utf-8") return ErtConfig.from_file("minimum_config")