Skip to content
Snippets Groups Projects
Commit 3f3ef693 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fix tests

parent 3ecffb8a
No related branches found
No related tags found
3 merge requests!1571catch 2.8.2.3 up with main,!15592.8.2.2-DEVELOPMENT into main,!1551Cherry pick partial curation for patch
......@@ -433,7 +433,7 @@ def test_evla_cal_final_manifest_matches_example(ingest_path: Path):
with open(manifest_file, "r") as infile:
actual_json = dict(json.load(infile).items())
actual_json[IngestionManifestKey.PARAMETERS.value][IngestionManifestKey.INGESTION_PATH.value] = expected_dir_name
actual_json[IngestionManifestKey.PARAMETERS.value][ParamsKey.INGESTION_PATH.value] = expected_dir_name
expected_params = expected_json["parameters"]
actual_params = manifest.parameters.to_dict()
......
......@@ -65,7 +65,7 @@ def test_trigger_ingest(mock_run):
class TestIngestCalibrationLauncher:
def test_launch_ingestion(self):
with patch("ingest_envoy.launchers.IngestCalibrationLauncher.prepare_for_ingest") as prepare:
with patch("ingest_envoy.launchers.IngestCalibrationLauncher.prepare_for_launch") as prepare:
with patch("ingest_envoy.launchers.trigger_ingest") as ingest:
IngestCalibrationLauncher(IngestType.CAL, parameters).launch()
assert prepare.call_count == 1
......@@ -94,7 +94,7 @@ class TestIngestCalibrationLauncher:
class TestIngestImageLauncher:
def test_launch_ingestion(self):
with patch("ingest_envoy.launchers.IngestImageLauncher.prepare_for_ingest") as prepare:
with patch("ingest_envoy.launchers.IngestImageLauncher.prepare_for_launch") as prepare:
with patch("ingest_envoy.launchers.trigger_ingest") as ingest:
IngestImageLauncher(IngestType.IMG, image_parameters).launch()
assert prepare.call_count == 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment