tests: fix dry-run for _dbus_property_set() in test-networkmanager-service.py

This commit is contained in:
Thomas Haller
2018-06-06 14:59:37 +02:00
parent 1410dac5c3
commit 3255a97b3a

View File

@@ -432,6 +432,8 @@ class ExportedObj(dbus.service.Object):
if not permission_granted:
raise TestError("Cannot set property '%s' on '%s' on '%s' via D-Bus" % (propname, dbus_iface, self.path))
return
assert propname in props
props[propname] = value