Skip to content
Snippets Groups Projects
Commit e9e6bb45 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

TEST(scanner): Extend unit test for new behavior of scan_structure_elements

parent 3c32b1f0
Branches
Tags
2 merge requests!222Release 0.12.0,!221F auto converter and transformer registry
Pipeline #62216 passed
......@@ -61,6 +61,12 @@ def test_scan_structure_elements():
converter_registry)
assert len(recs) == 4
# Converter registry is generated automatically from the crawler
# definition in scan_structure_elements.
recs_without_converter_registry = scan_structure_elements(DictElement(name="", value=data),
crawler_definition)
assert len(recs) == len(recs_without_converter_registry)
def test_provenance_debug_data():
# TODO rewrite the test to use a smaller example setup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment