summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-11-17 22:11:54 -0200
committerdrebs <drebs@leap.se>2016-12-12 09:13:09 -0200
commit3e74de6208c22643b1c063b70d22d352c0409703 (patch)
tree92f25587ce9fae226da5fd44f4ed41ed13240578
parent529dbdf27804f12da80907d25c412d10e9fa3763 (diff)
[test] remove unneeded setting of environment variables
-rw-r--r--testing/test_soledad/util.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/testing/test_soledad/util.py b/testing/test_soledad/util.py
index f44ce166..4a705396 100644
--- a/testing/test_soledad/util.py
+++ b/testing/test_soledad/util.py
@@ -223,14 +223,7 @@ class BaseSoledadTest(BaseLeapTest, MockedSharedDBTest):
# repeat it here because twisted.trial does not work with
# setUpClass/tearDownClass.
- self.old_path = os.environ['PATH']
- self.old_home = os.environ['HOME']
self.home = self.tempdir
- bin_tdir = os.path.join(
- self.tempdir,
- 'bin')
- os.environ["PATH"] = bin_tdir
- os.environ["HOME"] = self.tempdir
# config info
self.db1_file = os.path.join(self.tempdir, "db1.u1db")
@@ -257,10 +250,6 @@ class BaseSoledadTest(BaseLeapTest, MockedSharedDBTest):
self._db2.close()
self._soledad.close()
- # restore paths
- os.environ["PATH"] = self.old_path
- os.environ["HOME"] = self.old_home
-
def _delete_temporary_dirs():
# XXX should not access "private" attrs
for f in [self._soledad.local_db_path,