mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 01:20:07 +01:00
libnm/tests: emit standard properties changed signals from mock objects
This commit is contained in:
parent
ed21a820a7
commit
f234279c94
1 changed files with 5 additions and 0 deletions
|
|
@ -113,6 +113,11 @@ class ExportedObj(dbus.service.Object):
|
|||
def _dbus_property_notify(self, dbus_iface, propname):
|
||||
prop = self._dbus_property_get(dbus_iface, propname)
|
||||
self.__dbus_interface_get(dbus_iface).prop_changed_func(self, { propname: prop })
|
||||
ExportedObj.PropertiesChanged(self, dbus_iface, { propname: prop }, [])
|
||||
|
||||
@dbus.service.signal(dbus.PROPERTIES_IFACE, signature='sa{sv}as')
|
||||
def PropertiesChanged(self, iface, changed, invalidated):
|
||||
pass
|
||||
|
||||
@dbus.service.method(dbus_interface=dbus.PROPERTIES_IFACE, in_signature='s', out_signature='a{sv}')
|
||||
def GetAll(self, dbus_iface):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue