From fee1add2cf0f20cb03d3b405a8ea06fa806544c7 Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@inidscale.com> Date: Tue, 23 Jan 2024 15:55:06 +0100 Subject: [PATCH] FIX: Use correct asserts --- integrationtests/test_issues.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/integrationtests/test_issues.py b/integrationtests/test_issues.py index 61996031..441edac5 100644 --- a/integrationtests/test_issues.py +++ b/integrationtests/test_issues.py @@ -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 -- GitLab