integration-test: Fix path for unparented device

Paths supplied to testbed.add_device() are relative to /sys/devices
already and therefore must not start with /sys/devices.

This does not change the result of the test.

https://bugs.freedesktop.org/show_bug.cgi?id=100539
This commit is contained in:
Christian Kellner 2017-04-03 12:22:28 +02:00 committed by Bastien Nocera
parent 90aec997ce
commit c237298297

View file

@ -1020,7 +1020,7 @@ class Tests(dbusmock.DBusTestCase):
dev = self.testbed.add_device(
'input',
'/sys/devices/virtual/input/input18',
'virtual/input/input18',
None,
[], [])