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

FIX: Use correct asserts

parent 9111fb8a
Branches
Tags
3 merge requests!160STY: styling,!141FIX: Resolve referneces to existing entities correctly,!140New f fix merge
Pipeline #46307 failed
......@@ -261,5 +261,8 @@ Campaign:
recs = [event, basis, campaign]
ins, ups = crawler.synchronize(crawled_data=recs, unique_names=False)
# There is only two datasets and one event to be inserted
assert len(ins) == 3
# There is only one event to be inserted
assert len(ins) == 1
# Nothing to do for the existing ents
assert len(ups) == 0
assert ins[0].name == event.name
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment