summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/integration-test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration-test.py b/tests/integration-test.py
index 3f055599..e7ebf7ef 100755
--- a/tests/integration-test.py
+++ b/tests/integration-test.py
@@ -426,6 +426,7 @@ class OopTests(dbusmock.DBusTestCase):
self.wait_for_mainloop()
list_store = client.get_devices()
+ self.wait_for_condition(lambda: list_store.get_n_items() == 3)
self.assertEqual(list_store.get_n_items(), 3)
device = list_store.get_item(0)