mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-13 00:07:11 +02:00
fix: replaces single quote with double quote in PropertyObserver
When collecting collection item property dependencies, the PropertyObserver was adding dict keys in single quotes instead of double quotes.
This commit is contained in:
@ -167,8 +167,8 @@ def test_normalized_attr_path_in_dependent_property_changes(
|
||||
state_manager = StateManager(service=service_instance)
|
||||
observer = DataServiceObserver(state_manager=state_manager)
|
||||
|
||||
assert observer.property_deps_dict["service_dict['one']._prop"] == [
|
||||
"service_dict['one'].prop"
|
||||
assert observer.property_deps_dict['service_dict["one"]._prop'] == [
|
||||
'service_dict["one"].prop'
|
||||
]
|
||||
|
||||
# We can use dict key path encoded with double quotes
|
||||
|
Reference in New Issue
Block a user