Skip to content
Snippets Groups Projects
Commit 3e8a8329 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

revert change

parent 3865b197
No related branches found
No related tags found
2 merge requests!71REL: RElease v0.2.0,!5FIX: use identifiable instead of record
Pipeline #29350 failed
......@@ -284,15 +284,11 @@ def test_crawler_update_list(crawler, ident):
assert len(comp[0]["properties"]) == 0
assert len(comp[1]["properties"]) == 0
insl, updl = crawler.split_into_inserts_and_updates(crawler.updateList)
def test_synchronization(crawler, ident):
insl, updl = crawler.synchronize(commit_changes=False)
assert len(insl) == 0
assert len(updl) == 18
identified_records = [crawler.identifiableAdapter.retrieve_identifiable(record) for record
in updl]
for el in updl:
crawler.replace_entities_by_ids(el)
Crawler.remove_unnecessary_updates(updl, identified_records)
assert len(updl) == 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment