Skip to content
Snippets Groups Projects
Commit a1789f48 authored by Greg Quinn's avatar Greg Quinn
Browse files

Remove test function; superceded by diff_crs

parent c6c4df22
No related branches found
No related tags found
No related merge requests found
...@@ -38,16 +38,6 @@ def diff_crs(real_file, generated_file): ...@@ -38,16 +38,6 @@ def diff_crs(real_file, generated_file):
main() main()
def test_build_apid_info():
# FIXME: build CR comparison into the CLI
calculated = build_cr('P1571289CRISSCIENCEAAT15320210920101.PDS')
ingested = crio.read('P1571289CRISSCIENCEAAT15320210920100.PDS')
insert_fake_cr_info(ingested)
del calculated['completion_time'] # it seems CR completion time does not match PDS
del ingested['completion_time'] # creation time from the file name
assert calculated == ingested
def build_cr(pds_file, prev_pds_file=None): def build_cr(pds_file, prev_pds_file=None):
"""Best-effort CR generation by scanning a PDS data file """Best-effort CR generation by scanning a PDS data file
......
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