diff --git a/tests/ert/unit_tests/scheduler/test_openpbs_driver.py b/tests/ert/unit_tests/scheduler/test_openpbs_driver.py index feeaacaba7d..bf7d11e993d 100644 --- a/tests/ert/unit_tests/scheduler/test_openpbs_driver.py +++ b/tests/ert/unit_tests/scheduler/test_openpbs_driver.py @@ -136,13 +136,6 @@ def parse_resource_string(qsub_args: str) -> dict[str, str]: return resources -@pytest.mark.usefixtures("capturing_qsub") -async def test_realization_memory(): - driver = OpenPBSDriver() - await driver.submit(0, "sleep", realization_memory=1024**2) - assert " -l mem=1mb" in Path("captured_qsub_args").read_text(encoding="utf-8") - - @pytest.mark.usefixtures("capturing_qsub") async def test_no_default_realization_memory(): driver = OpenPBSDriver() @@ -293,16 +286,6 @@ async def test_full_resource_string(realization_memory, num_cpu, cluster_label): ), "Unknown or missing resources in resource string" -@pytest.mark.usefixtures("capturing_qsub") -async def test_submit_with_realization_memory(): - driver = OpenPBSDriver() - await driver.submit(0, "sleep", realization_memory=1024**2) - resources = parse_resource_string( - Path("captured_qsub_args").read_text(encoding="utf-8") - ) - assert resources.get("mem", "") == "1mb" - - @pytest.mark.parametrize( ("exit_code, error_msg"), [