Skip to content
Snippets Groups Projects
Commit e6605bab authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Merge branch 'ws-1769_test_fix' into '2.8.2-DEVELOPMENT'

WS-1769 Missed updating the assertions

See merge request !1385
parents a01923ac 7bf6d190
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1385WS-1769 Missed updating the assertions
Pipeline #10046 failed
......@@ -34,7 +34,8 @@ from ingest_envoy.utilities import ScienceProductType, Telescope
from conftest import (
ANCILLARY_PRODUCTS,
OUTPUT_GROUP_SCIENCE_PRODUCT_ANCILLARIES,
OUTPUT_GROUP_SCIENCE_PRODUCT_ANCILLARIES_K,
OUTPUT_GROUP_SCIENCE_PRODUCT_ANCILLARIES_X,
ingest_path,
populate_fake_evla_cal_ingest_path,
populate_fake_tmpx_ratuqh_ingest_path,
......@@ -95,7 +96,8 @@ def test_entry_point_for_image(ingest_path: Path):
# we should be starting out with various image manifest input files
# and CASA byproducts, a random file, and -not- the image ingestion
# manifest yet to be created
expected_file_count_before = len(ANCILLARY_PRODUCTS) + len(OUTPUT_GROUP_SCIENCE_PRODUCT_ANCILLARIES) + 1
expected_file_count_before = len(ANCILLARY_PRODUCTS) + len(OUTPUT_GROUP_SCIENCE_PRODUCT_ANCILLARIES_K) +\
len(OUTPUT_GROUP_SCIENCE_PRODUCT_ANCILLARIES_X) + 2
ingestion_files_before = [file for file in ingest_path.iterdir()]
assert len(ingestion_files_before) == expected_file_count_before
......
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