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

fixing tests

parent fae1c25b
No related branches found
No related tags found
2 merge requests!378Image Ingestion workflow,!376Image Ingestion Workflow Part 1
Pipeline #2319 passed with warnings
...@@ -45,9 +45,6 @@ class TestRetrievalConveyor: ...@@ -45,9 +45,6 @@ class TestRetrievalConveyor:
assert mock_chdir.call_count == 1 assert mock_chdir.call_count == 1
assert mock_glob.call_count == 1 assert mock_glob.call_count == 1
assert symlinks.call_count == 1 assert symlinks.call_count == 1
assert move.call_count == 1
assert contents.call_count == 1
assert mock_rm.call_count == 1
@patch("pathlib.Path.is_symlink", return_value=True) @patch("pathlib.Path.is_symlink", return_value=True)
@patch("pathlib.Path.unlink") @patch("pathlib.Path.unlink")
......
...@@ -29,11 +29,6 @@ class TestIngestCalibrationLauncher: ...@@ -29,11 +29,6 @@ class TestIngestCalibrationLauncher:
assert mock_run.call_count == 2 assert mock_run.call_count == 2
assert mock_manifest.call_count == 1 assert mock_manifest.call_count == 1
@patch("subprocess.run")
def test_run_ingest(self, mock_run):
IngestCalibrationLauncher(parameters).run_ingest()
assert mock_run.call_count == 1
@pytest.mark.skip("Skip until manifest builder is complete") @pytest.mark.skip("Skip until manifest builder is complete")
@patch("ingest_envoy.ingestion_manifest.IngestionManifestBuilder.build") @patch("ingest_envoy.ingestion_manifest.IngestionManifestBuilder.build")
@patch("subprocess.run") @patch("subprocess.run")
......
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