[tracker-miners/sam/test-runner-fix: 19/33] functional-tests: Fix await_resource_deleted() helper



commit 3787a3f19593ec23fd5799dc30e401e06be29ff9
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]