Skip to content
Snippets Groups Projects

TST: Make NamedTemporaryFiles Windows-compatible

Merged Henrik tom Wörden requested to merge f-rename-filter into dev
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -256,9 +256,9 @@ class SyncNode(db.Entity):
def parent_in_list(parent: Parent, plist: ParentList) -> bool:
"""helper function that checks whether a parent with the same name or ID is in the plist"""
return plist.filter(parent)
return plist.filter_by_identity(parent)
def property_in_list(prop: db.Property, plist: PropertyList) -> bool:
"""helper function that checks whether a property with the same name or ID is in the plist"""
return plist.filter(prop)
return plist.filter_by_identity(prop)
Loading