[tracker-miners/sam/test-runner-fix: 8/21] functional-tests: Fix await_resource_deleted() helper
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/test-runner-fix: 8/21] functional-tests: Fix await_resource_deleted() helper
- Date: Mon, 11 Feb 2019 00:02:53 +0000 (UTC)
commit a355f1314501c845d52485ec33453af41d86da8d
Author: Sam Thursfield <sam afuera me uk>
Date: Fri Jan 4 19:52:02 2019 +0100
functional-tests: Fix await_resource_deleted() helper
This was failing to set a variable, which meant that it was actually
ignoring the relevant GraphUpdated events.
tests/functional-tests/common/utils/helpers.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/functional-tests/common/utils/helpers.py b/tests/functional-tests/common/utils/helpers.py
index 61f879e54..3faa9593d 100644
--- a/tests/functional-tests/common/utils/helpers.py
+++ b/tests/functional-tests/common/utils/helpers.py
@@ -434,6 +434,7 @@ class StoreHelper (Helper):
if not existing_match:
self._enable_await_timeout ()
+ self.class_to_track = rdf_class
self.deletes_match_function = match_cb
# Run the event loop until the correct notification arrives
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]