Skip to content

Commit

Permalink
Fix test_ds_sce.py
Browse files Browse the repository at this point in the history
The SCE checks should be listed in `checks` element, not in
`checklists` element, because SCE checks are checks, not checklists.
  • Loading branch information
jan-cerny committed Oct 31, 2024
1 parent 94c2eb9 commit dee7a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ds_sce.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

def verify_file(ds, catalog_uris, file, build_dir):
component_ref = ds.find(str.format(
".//{{{ds_ns}}}checklists/{{{ds_ns}}}component-ref[@id='{cid}']",
".//{{{ds_ns}}}checks/{{{ds_ns}}}component-ref[@id='{cid}']",
ds_ns=datastream_namespace,
cid=catalog_uris[file]
))
Expand Down

0 comments on commit dee7a40

Please sign in to comment.