[tracker/sam/functional-test-fixes: 18/20] fixup! functional-tests: Await resource addition / removal properly
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/functional-test-fixes: 18/20] fixup! functional-tests: Await resource addition / removal properly
- Date: Sun, 20 Jul 2014 16:21:59 +0000 (UTC)
commit bfb28004e37ff2dbc17c53746f2d7561b73666ea
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Jul 20 16:59:15 2014 +0100
fixup! functional-tests: Await resource addition / removal properly
tests/functional-tests/300-miner-basic-ops.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/300-miner-basic-ops.py b/tests/functional-tests/300-miner-basic-ops.py
index cee7fff..124e992 100755
--- a/tests/functional-tests/300-miner-basic-ops.py
+++ b/tests/functional-tests/300-miner-basic-ops.py
@@ -205,9 +205,9 @@ class MinerCrawlTest (CommonTrackerMinerTest):
"""
source = os.path.join (MINER_TMP_DIR, "test-monitored", "dir1", "file2.txt")
dest = os.path.join (MINER_TMP_DIR, "test-no-monitored", "file2.txt")
- dest_id = self.system.store.get_resource_id (path_to_url(dest))
+ source_id = self.system.store.get_resource_id (path_to_url(dest))
shutil.move (source, dest)
- self.system.store.await_resource_deleted (dest_id)
+ self.system.store.await_resource_deleted (source_id)
result = self.__get_text_documents ()
self.assertEquals (len (result), 2)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]