From b48c9daa5f3715b91800f1c8ee7fff2e3c6078b6 Mon Sep 17 00:00:00 2001 From: mferrera Date: Wed, 6 Nov 2024 12:34:35 +0100 Subject: [PATCH] TST: Remove print statements in tests --- tests/test_units/test_dataio.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_units/test_dataio.py b/tests/test_units/test_dataio.py index b4cc1f7a0..f4429f273 100644 --- a/tests/test_units/test_dataio.py +++ b/tests/test_units/test_dataio.py @@ -1168,21 +1168,20 @@ def test_ert_experiment_id_present_in_exported_metadata( def test_ert_simulation_mode_present_in_generated_metadata( fmurun_w_casemetadata, monkeypatch, globalconfig1, regsurf ): - """Test that the ert experiment id has been set correctly + """Test that the ert simulation mode has been set correctly in the generated metadata""" monkeypatch.chdir(fmurun_w_casemetadata) edata = ExportData(config=globalconfig1, content="depth") meta = edata.generate_metadata(regsurf) - print(meta["fmu"]) assert meta["fmu"]["ert"]["simulation_mode"] == "test_run" def test_ert_simulation_mode_present_in_exported_metadata( fmurun_w_casemetadata, monkeypatch, globalconfig1, regsurf ): - """Test that the ert experiment id has been set correctly + """Test that the ert simulation mode has been set correctly in the exported metadata""" monkeypatch.chdir(fmurun_w_casemetadata) @@ -1191,7 +1190,6 @@ def test_ert_simulation_mode_present_in_exported_metadata( out = Path(edata.export(regsurf)) with open(out.parent / f".{out.name}.yml", encoding="utf-8") as f: export_meta = yaml.safe_load(f) - print(export_meta["fmu"]) assert export_meta["fmu"]["ert"]["simulation_mode"] == "test_run"