Skip to content

Commit

Permalink
Remove incorrect marker
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindeide committed Dec 13, 2024
1 parent 4301b63 commit 884e0b0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions tests/everest/test_egg_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
hide_opm,
skipif_no_everest_models,
skipif_no_opm,
skipif_no_simulator,
)

CONFIG_FILE = "everest/model/config.yml"
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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):
Expand Down
8 changes: 0 additions & 8 deletions tests/everest/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 884e0b0

Please sign in to comment.