mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-26 21:20:04 +01:00
linux: Remove unused code in test suite
There's no need to create a udev device, the metadata comes from bluez.
This commit is contained in:
parent
ed0dfe4427
commit
27541a6130
1 changed files with 1 additions and 8 deletions
|
|
@ -1566,7 +1566,7 @@ class Tests(dbusmock.DBusTestCase):
|
|||
None,
|
||||
[], [])
|
||||
|
||||
# Add a device to both bluez and udev
|
||||
# Add a device to bluez
|
||||
address = '11:22:33:44:55:66'
|
||||
alias = 'Arc Touch Mouse SE'
|
||||
|
||||
|
|
@ -1580,13 +1580,6 @@ class Tests(dbusmock.DBusTestCase):
|
|||
}
|
||||
device.AddProperties(BATTERY_IFACE, properties)
|
||||
|
||||
parent = dev
|
||||
self.testbed.add_device(
|
||||
'input',
|
||||
'input3/event4',
|
||||
parent,
|
||||
[], ['DEVNAME', 'input/event4', 'ID_INPUT_MOUSE', '1'])
|
||||
|
||||
self.start_daemon()
|
||||
|
||||
# process = subprocess.Popen(['gdbus', 'introspect', '--system', '--dest', 'org.bluez', '--object-path', '/org/bluez/hci0/dev_11_22_33_44_55_66'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue