diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2014-07-29 12:29:07 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2014-10-14 14:08:20 +0100 |
commit | 30b81521751406d8a8074d2306194c86d730337f (patch) | |
tree | f2162e1021fe49c7b0af435a8fe8677d96a95276 | |
parent | d923520401414b3f72f1f1667df44427e5496b41 (diff) | |
download | tracker-30b81521751406d8a8074d2306194c86d730337f.tar.gz |
functional-tests: Clean up writebacktest base class
-rw-r--r-- | tests/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 834e79b5c..ce6f2c7f4 100644 --- a/tests/functional-tests/common/utils/writebacktest.py +++ b/tests/functional-tests/common/utils/writebacktest.py @@ -51,22 +51,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" |