[tracker-miners/sam/test-runner-fix: 13/24] 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: 13/24] functional-tests: Fix await_resource_deleted() helper
- Date: Sat, 5 Jan 2019 11:05:05 +0000 (UTC)
commit 4385e3dc0a56e02b94a4e854482afbf9bd76520b
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]