Skip to content
Snippets Groups Projects
Commit f9a3a261 authored by florian's avatar florian
Browse files

TST: Check container error code

parent 46d476af
No related branches found
No related tags found
No related merge requests found
...@@ -272,6 +272,7 @@ def test_container_with_faulty_elements(): ...@@ -272,6 +272,7 @@ def test_container_with_faulty_elements():
raise_errors(cont) raise_errors(cont)
te = e.value te = e.value
assert te.get_container() == cont assert te.get_container() == cont
assert te.get_code() == container_code
# no healthy entity caused an error # no healthy entity caused an error
for good in [good_rec, good_prop]: for good in [good_rec, good_prop]:
assert not good in te.all_entities assert not good in te.all_entities
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment