Skip to content

Commit

Permalink
Remove fixture marks that has no effect
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Mar 15, 2024
1 parent c57b5e1 commit b12d8f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/unit_tests/gui/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def handle_manage_dialog():
manage_tool.trigger()


@pytest.mark.usefixtures("use_tmpdir")
@pytest.fixture(name="opened_main_window", scope="module")
def opened_main_window_fixture(source_root, tmpdir_factory) -> ErtMainWindow:
with pytest.MonkeyPatch.context() as mp:
Expand Down Expand Up @@ -130,14 +129,12 @@ def opened_main_window_clean(source_root, tmpdir):
yield gui


@pytest.mark.usefixtures("use_tmpdir, opened_main_window")
@pytest.fixture(scope="module")
def esmda_has_run(run_experiment):
# Runs a default ES-MDA run
run_experiment(MultipleDataAssimilation)


@pytest.mark.usefixtures("use_tmpdir")
@pytest.fixture(name="run_experiment", scope="module")
def run_experiment_fixture(request, opened_main_window):
def func(experiment_mode):
Expand Down Expand Up @@ -193,7 +190,6 @@ def handle_dialog():
return func


@pytest.mark.usefixtures("use_tmpdir")
@pytest.fixture(scope="module")
def ensemble_experiment_has_run(opened_main_window, run_experiment, request):
gui = opened_main_window
Expand Down

0 comments on commit b12d8f6

Please sign in to comment.