[tracker/sam/functional-test-fixes: 12/30] functional-tests: Clarify writebacktest base class & remove dead code
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/functional-test-fixes: 12/30] functional-tests: Clarify writebacktest base class & remove dead code
- Date: Thu, 21 Aug 2014 22:13:08 +0000 (UTC)
commit 496a31404b95c379878a48d6e8a7ae183df379f0
Author: Sam Thursfield <sam afuera me uk>
Date: Tue Jul 29 12:29:07 2014 +0200
functional-tests: Clarify writebacktest base class & remove dead code
.../functional-tests/common/utils/writebacktest.py | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/writebacktest.py
b/tests/functional-tests/common/utils/writebacktest.py
index 41562d8..ff7f7fa 100644
--- a/tests/functional-tests/common/utils/writebacktest.py
+++ b/tests/functional-tests/common/utils/writebacktest.py
@@ -52,22 +52,11 @@ def uri (filename):
class CommonTrackerWritebackTest (ut.TestCase):
"""
Superclass to share methods. Shouldn't be run by itself.
- Start all processes including writeback, miner pointing to HOME/test-writeback-monitored
+ Start all processes including writeback, miner pointing to WRITEBACK_TMP_DIR
"""
@classmethod
def __prepare_directories (self):
- #
- # ~/test-writeback-monitored/
- #
-
- for d in ["test-writeback-monitored"]:
- directory = os.path.join (WRITEBACK_TMP_DIR, d)
- if (os.path.exists (directory)):
- shutil.rmtree (directory)
- os.makedirs (directory)
-
-
if (os.path.exists (os.getcwd() + "/test-writeback-data")):
# Use local directory if available
datadir = os.getcwd() + "/test-writeback-data"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]