Skip to content
Snippets Groups Projects

TST: update due to more informative error message

Merged Henrik tom Wörden requested to merge f-filter-container into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -499,7 +499,7 @@ def test_retrieve_wrong_role(clear_database):
assert entity.role == "Record"
with raises(ValueError) as cm:
entity.retrieve()
assert cm.value.args[0] == ("The resulting entity had a different role "
assert cm.value.args[0].startswith("The resulting entity had a different role "
"(RecordType) than the local one (Record). "
"This probably means, that the entity was "
"intialized with a wrong class by this client "
Loading