Skip to content
Snippets Groups Projects
Commit a3955362 authored by I. Nüske's avatar I. Nüske
Browse files

Merge branch 'refs/heads/dev' into f-enh-fit-93-pylinkahead-separate-timeouts

parents 60fb5063 7c8a480f
Branches
Tags
1 merge request!86Add test for https://gitlab.com/linkahead/linkahead-pylib/-/issues/127
...@@ -499,7 +499,7 @@ def test_retrieve_wrong_role(clear_database): ...@@ -499,7 +499,7 @@ def test_retrieve_wrong_role(clear_database):
assert entity.role == "Record" assert entity.role == "Record"
with raises(ValueError) as cm: with raises(ValueError) as cm:
entity.retrieve() 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). " "(RecordType) than the local one (Record). "
"This probably means, that the entity was " "This probably means, that the entity was "
"intialized with a wrong class by this client " "intialized with a wrong class by this client "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment