From e62d8257dde0e1dfa2c0415f09d2cf78b28cd9ac Mon Sep 17 00:00:00 2001
From: chausman <chausman@nrao.edu>
Date: Thu, 26 Oct 2023 11:54:58 -0600
Subject: [PATCH] fix tests

---
 .../pexable/ingest_envoy/test/test_evla_cal_manifest.py       | 2 +-
 .../executables/pexable/ingest_envoy/test/test_launchers.py   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/cli/executables/pexable/ingest_envoy/test/test_evla_cal_manifest.py b/apps/cli/executables/pexable/ingest_envoy/test/test_evla_cal_manifest.py
index cc7c3136f..f588fc210 100644
--- a/apps/cli/executables/pexable/ingest_envoy/test/test_evla_cal_manifest.py
+++ b/apps/cli/executables/pexable/ingest_envoy/test/test_evla_cal_manifest.py
@@ -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()
diff --git a/apps/cli/executables/pexable/ingest_envoy/test/test_launchers.py b/apps/cli/executables/pexable/ingest_envoy/test/test_launchers.py
index b16c0d220..aef5abf51 100644
--- a/apps/cli/executables/pexable/ingest_envoy/test/test_launchers.py
+++ b/apps/cli/executables/pexable/ingest_envoy/test/test_launchers.py
@@ -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
-- 
GitLab