[tracker/sam/functional-test-fixes: 8/12] functional-tests: Fix 300-miner-basic-ops (PARTLY)



commit 7464b0613ec27f259f25492e828a3d9bdd5f6827
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Jul 20 17:19:26 2014 +0100

    functional-tests: Fix 300-miner-basic-ops (PARTLY)

 tests/functional-tests/300-miner-basic-ops.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/300-miner-basic-ops.py b/tests/functional-tests/300-miner-basic-ops.py
index 9725997..3e2e1f4 100755
--- a/tests/functional-tests/300-miner-basic-ops.py
+++ b/tests/functional-tests/300-miner-basic-ops.py
@@ -287,7 +287,10 @@ class MinerCrawlTest (CommonTrackerMinerTest):
         victim = os.path.join (MINER_TMP_DIR, "test-monitored", "dir1")
         victim_id = self.system.store.get_resource_id (uri(victim))
         shutil.rmtree (victim)
-        self.system.store.await_resource_deleted (victim_id)
+
+        file_inside_victim_url = path_to_url(os.path.join (victim, "file2.txt"))
+        file_inside_victim_id = self.system.store.get_resource_id (file_inside_victim_url)
+        self.system.store.await_resource_deleted (file_inside_victim_id)
 
         result = self.__get_text_documents ()
         self.assertEquals (len (result), 1)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]