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,12 +499,12 @@ 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 "
"(RecordType) than the local one (Record). "
"This probably means, that the entity was "
"intialized with a wrong class by this client "
"or it has changed in the past and this "
"client did't know about it yet.")
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 "
"or it has changed in the past and this "
"client did't know about it yet.")
@fixture
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment