1
0
forked from drath/libratbag

tools: after resetting the test device, run a dbus sync

This gives us the chance to receive the new device via DBus

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2019-02-22 17:55:25 +10:00
committed by Benjamin Tissoires
parent 391a0e923e
commit a46c30253d

View File

@@ -91,6 +91,7 @@ class TestRatbagCtl(unittest.TestCase):
def reset_test_device(cls):
global ratbagd
ratbagd._dbus_call("ResetTestDevice", "")
toolbox.sync_dbus()
def launch_good_test(self, params):
returncode, stdout, stderr = self.run_ratbagctl(params)