From 92f84f4c702fbbf92856b964417fa59762f40c59 Mon Sep 17 00:00:00 2001 From: manonBlanco <blanco@teklia.com> Date: Thu, 21 Dec 2023 11:50:49 +0100 Subject: [PATCH] Fix tests --- tests/test_elements_worker/test_elements.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_elements_worker/test_elements.py b/tests/test_elements_worker/test_elements.py index 3149e199..2445f230 100644 --- a/tests/test_elements_worker/test_elements.py +++ b/tests/test_elements_worker/test_elements.py @@ -1246,19 +1246,19 @@ def test_create_elements_integrity_error( [ ( {"parent": None, "child": None}, - "parent shouldn't be null and should be of type Element or CachedElement", + "parent shouldn't be null and should be of type Element", ), ( {"parent": "not an element", "child": None}, - "parent shouldn't be null and should be of type Element or CachedElement", + "parent shouldn't be null and should be of type Element", ), ( {"parent": Element(zone=None), "child": None}, - "child shouldn't be null and should be of type Element or CachedElement", + "child shouldn't be null and should be of type Element", ), ( {"parent": Element(zone=None), "child": "not an element"}, - "child shouldn't be null and should be of type Element or CachedElement", + "child shouldn't be null and should be of type Element", ), ], ) -- GitLab