From f5b5619c3e4473f02395a14ac35ea0088fce4b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Eide?= Date: Tue, 10 Dec 2024 12:32:29 +0100 Subject: [PATCH] Remove unused marker --- tests/everest/test_everest_initialization.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/everest/test_everest_initialization.py b/tests/everest/test_everest_initialization.py index b46967637f1..bbd2cce2145 100644 --- a/tests/everest/test_everest_initialization.py +++ b/tests/everest/test_everest_initialization.py @@ -5,13 +5,10 @@ from ert.run_models.everest_run_model import EverestRunModel from everest.config import EverestConfig -NO_PROJECT_RES = ( - os.environ.get("NO_PROJECT_RES", False), - "Skipping tests when no access to /project/res", -) +from ..everest.utils import skipif_no_everest_models -@pytest.mark.skipif(NO_PROJECT_RES[0], reason=NO_PROJECT_RES[1]) +@skipif_no_everest_models def test_init_no_project_res(copy_egg_test_data_to_tmp): config_file = os.path.join("everest", "model", "config.yml") config = EverestConfig.load_file(config_file)