diff --git a/tests/test_elements_worker/test_elements.py b/tests/test_elements_worker/test_elements.py index 3149e1997be1d3e7e4690201fbac5ab5bd4c884f..2445f230f085a8fedb656992ad0f9c03aa77dd11 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", ), ], )