Skip to content
Snippets Groups Projects
Commit 196abe45 authored by Alexander Kreft's avatar Alexander Kreft
Browse files

fix

parent 06c8b283
No related branches found
No related tags found
1 merge request!19ENH: add resolve_value to Property
......@@ -98,7 +98,7 @@ def test_resolve_reference():
no_reference= db.Property(id=5000, datatype=db.INTEGER, value=2)
resolve_reference(no_reference)
assert no_reference.value == 2
assert isinstance(no_reference.datatype, db.INTEGER)
assert no_reference.datatype == db.INTEGER
# restore retrive_entity_with_id
caosdb.apiutils.retrieve_entity_with_id = original_retrieve_entity_with_id
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment