diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index e05cadcf07f43bbddc420df940c4b8d359f06924..d6f6578f92f665b0822feb066a422477d7b61f5c 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -379,7 +379,7 @@ class Entity(object): property, (RecordType, Record, File)): new_property.datatype = property new_property.value = value - + self.properties.append( property=new_property, importance=( kwargs['importance'] if 'importance' in kwargs else None), inheritance=( @@ -3222,7 +3222,6 @@ class Container(list): return table - def sync_global_acl(): c = get_connection() http_response = c.retrieve(entity_uri_segments=["EntityPermissions"]) diff --git a/unittests/test_container.py b/unittests/test_container.py index 906295ceaf5b7b8b5c2ca74e69f50b132e91cf29..a2b9e9f8f4cf17d73306a39e86ec064109919d61 100644 --- a/unittests/test_container.py +++ b/unittests/test_container.py @@ -51,7 +51,6 @@ def test_get_property_values(): owner ]) - assert getattr(house.get_property(p_height), "unit") == "ft" assert getattr(window.get_property(p_height), "unit") == "m"