diff --git a/unittests/test_high_level_api.py b/unittests/test_high_level_api.py index ecab19f1e47d11f00952c68a469e5b0a0ebc56a9..296ac71b09ea67a7b341fc21080fe97361279d8a 100644 --- a/unittests/test_high_level_api.py +++ b/unittests/test_high_level_api.py @@ -95,3 +95,14 @@ def test_convert_record(): # same with just a name: obj.add_parent(CaosDBPythonUnresolvedParent(name="another")) assert obj.has_parent("another") is True + + +def test_convert_with_references(): + r_ref = db.Record() + r_ref.add_property(name="a", value=42) + + r = db.Record() + r.add_property(name="ref", value=r_ref) + + obj = convert_to_python_object(r) + breakpoint()