[tracker/sam/functional-test-fixes: 17/30] functional-tests: Remove dead code in minertest base class



commit 04e9f4f8c2d3611013e20425418efe114a11f117
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Aug 1 23:16:47 2014 +0100

    functional-tests: Remove dead code in minertest base class

 tests/functional-tests/common/utils/minertest.py |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/minertest.py 
b/tests/functional-tests/common/utils/minertest.py
index 7111d86..c142dd9 100644
--- a/tests/functional-tests/common/utils/minertest.py
+++ b/tests/functional-tests/common/utils/minertest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+/!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
@@ -95,12 +95,6 @@ class CommonTrackerMinerTest (ut.TestCase):
         
         self.system = TrackerSystemAbstraction ()
 
-        if (os.path.exists (os.getcwd() + "/test-configurations/miner-basic-ops")):
-            # Use local directory if available
-            confdir = os.getcwd() + "/test-configurations/miner-basic-ops"
-        else:
-            confdir = os.path.join (cfg.DATADIR, "tracker-tests",
-                                    "test-configurations", "miner-basic-ops")
         self.system.tracker_miner_fs_testing_start (CONF_OPTIONS)
         self.system.tracker_miner_fs_wait_for_idle ()
         self.tracker = self.system.store


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