libnm/tests: correct vlan id type in vlan device mock

This commit is contained in:
Lubomir Rintel
2016-09-20 14:26:39 +02:00
parent 402ba09269
commit 24afcb502e

View File

@@ -274,7 +274,7 @@ class VlanDevice(Device):
props = {}
props[PV_HW_ADDRESS] = self.mac
props[PV_CARRIER] = self.carrier
props[PV_VLAN_ID] = self.vlan_id
props[PV_VLAN_ID] = dbus.UInt32(self.vlan_id)
return props
@dbus.service.signal(IFACE_VLAN, signature='a{sv}')