[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Avoid having a test for b.persistent.State write to $HOME.
commit 783a8f18e990608ebb915a0bcc4096b34646bc04
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Tue Feb 24 22:56:50 2015 +0000
Avoid having a test for b.persistent.State write to $HOME.
---
lib/bridgedb/test/test_persistentSaveAndLoad.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/test/test_persistentSaveAndLoad.py b/lib/bridgedb/test/test_persistentSaveAndLoad.py
index 67585f6..6d6584d 100644
--- a/lib/bridgedb/test/test_persistentSaveAndLoad.py
+++ b/lib/bridgedb/test/test_persistentSaveAndLoad.py
@@ -88,7 +88,7 @@ class StateSaveAndLoadTests(unittest.TestCase):
self.assertIsInstance(statefile, basestring)
def test_set_statefile(self):
- self.state._set_statefile('~/bar.state')
+ self.state._set_statefile('bar.state')
statefile = self.state._get_statefile()
self.assertIsInstance(statefile, basestring)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits