From f9a3a26126eba6608ec4e9f8a915805166199a1e Mon Sep 17 00:00:00 2001
From: florian <f.spreckelsen@inidscale.com>
Date: Wed, 8 Jul 2020 17:39:07 +0200
Subject: [PATCH] TST: Check container error code

---
 unittests/test_error_handling.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/unittests/test_error_handling.py b/unittests/test_error_handling.py
index c3fbd8be..94e3d6f0 100644
--- a/unittests/test_error_handling.py
+++ b/unittests/test_error_handling.py
@@ -272,6 +272,7 @@ def test_container_with_faulty_elements():
         raise_errors(cont)
     te = e.value
     assert te.get_container() == cont
+    assert te.get_code() == container_code
     # no healthy entity caused an error
     for good in [good_rec, good_prop]:
         assert not good in te.all_entities
-- 
GitLab