Skip to content
Snippets Groups Projects
Commit 19446353 authored by florian's avatar florian
Browse files

MAINT: Remove unnecessary debug option

parent bcc7888b
No related branches found
No related tags found
2 merge requests!53Release 0.1,!20F identifiable test
Pipeline #22875 failed
...@@ -84,7 +84,7 @@ def test_dataset( ...@@ -84,7 +84,7 @@ def test_dataset(
ident.register_identifiable("Person", db.RecordType( ident.register_identifiable("Person", db.RecordType(
).add_parent("Person").add_property("full_name")) ).add_parent("Person").add_property("full_name"))
crawler = Crawler(debug=True, identifiableAdapter=ident) crawler = Crawler(identifiableAdapter=ident)
crawler_definition = crawler.load_definition( crawler_definition = crawler.load_definition(
os.path.join(DATADIR, "dataset_cfoods.yml")) os.path.join(DATADIR, "dataset_cfoods.yml"))
# print(json.dumps(crawler_definition, indent=3)) # print(json.dumps(crawler_definition, indent=3))
...@@ -97,13 +97,7 @@ def test_dataset( ...@@ -97,13 +97,7 @@ def test_dataset(
crawler_definition, crawler_definition,
converter_registry converter_registry
) )
subd = crawler.debug_tree crawler.synchronize()
subc = crawler.debug_metadata
# print(json.dumps(subc, indent=3))
# print(subd)
# print(subc)
# print(records)
ins, ups = crawler.synchronize()
dataspace = db.execute_query("FIND RECORD Dataspace WITH name=35 AND dataspace_id=20002 AND " dataspace = db.execute_query("FIND RECORD Dataspace WITH name=35 AND dataspace_id=20002 AND "
"archived=FALSE AND url='https://datacloud.de/index.php/f/7679'" "archived=FALSE AND url='https://datacloud.de/index.php/f/7679'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment