Skip to content
Snippets Groups Projects

Add an API helper to link two elements

Merged Manon Blanco requested to merge create-element-parent into master
All threads resolved!
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -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",
),
],
)
Loading