diff --git a/tests/test_error_stuff.py b/tests/test_error_stuff.py index 971bca8f40212391bc0aea78a470a91a5ead413d..3020e4b4c10a14742a23315295866590bac6a055 100644 --- a/tests/test_error_stuff.py +++ b/tests/test_error_stuff.py @@ -299,6 +299,6 @@ def test_double_insertion(): te = te.value assert te.has_error(UniqueNamesError) # c2 caused the ContainerError - assert te.get_container() == c2 + assert te.container == c2 # exactly 5 faulty entities in c2 - assert len(te.get_entities()) == 5 + assert len(te.entities) == 5 diff --git a/tests/test_tickets.py b/tests/test_tickets.py index e246e0e43304d99f9433ffee39601afd6f2d822e..783d2ea7220a0da477d18c4b73c4e37093560527 100644 --- a/tests/test_tickets.py +++ b/tests/test_tickets.py @@ -88,7 +88,7 @@ def test_ticket_103a(): exc = e.value print(exc) assert 128 == int(exc.get_errors()[0].get_code()) - rt = exc.get_entities()[0] + rt = exc.entities[0] assert not rt.is_valid() for w in rt.get_warnings():