From 884e0b03969b40d82c616a7a1ed2344c54acdbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Eide?= Date: Fri, 13 Dec 2024 09:58:59 +0100 Subject: [PATCH] Remove incorrect marker --- tests/everest/test_egg_simulation.py | 3 --- tests/everest/utils/__init__.py | 8 -------- 2 files changed, 11 deletions(-) diff --git a/tests/everest/test_egg_simulation.py b/tests/everest/test_egg_simulation.py index 0d8dd80092c..1ab4838a41d 100644 --- a/tests/everest/test_egg_simulation.py +++ b/tests/everest/test_egg_simulation.py @@ -18,7 +18,6 @@ hide_opm, skipif_no_everest_models, skipif_no_opm, - skipif_no_simulator, ) CONFIG_FILE = "everest/model/config.yml" @@ -665,7 +664,6 @@ def test_init_egg_model(copy_egg_test_data_to_tmp): @skipif_no_everest_models @pytest.mark.everest_models_test -@skipif_no_simulator @pytest.mark.requires_eclipse def test_run_egg_model(copy_egg_test_data_to_tmp): config = EverestConfig.load_file(CONFIG_FILE) @@ -796,7 +794,6 @@ def test_egg_model_wells_json_output_no_none(copy_egg_test_data_to_tmp): @skipif_no_everest_models @pytest.mark.everest_models_test -@skipif_no_simulator @pytest.mark.requires_eclipse @pytest.mark.timeout(0) def test_egg_snapshot(snapshot, copy_egg_test_data_to_tmp): diff --git a/tests/everest/utils/__init__.py b/tests/everest/utils/__init__.py index 3dc2491a579..b09b1a8e48a 100644 --- a/tests/everest/utils/__init__.py +++ b/tests/everest/utils/__init__.py @@ -27,14 +27,6 @@ def skipif_no_opm(function): return pytest.mark.skipif(not has_opm(), reason="OPM not found")(function) -def skipif_no_simulator(function): - """Decorator to skip a test if no project res is available is not available""" - return pytest.mark.skipif( - condition=os.environ.get("NO_PROJECT_RES", False), - reason="Skipping tests when no access to /project/res", - )(function) - - def skipif_no_everest_models(function): """Decorator to skip a test if everest-models is not available""" spec = importlib.util.find_spec("everest_models")