[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Fix a test_persistent unittest failing do to options rundir/config changes.
commit da83ef26ef8c7734da4f6bcc039752dd6e8759d8
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Tue Nov 19 02:56:08 2013 +0000
Fix a test_persistent unittest failing do to options rundir/config changes.
---
lib/bridgedb/test/test_persistent.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/test/test_persistent.py b/lib/bridgedb/test/test_persistent.py
index 34b0b25..c3c89ef 100644
--- a/lib/bridgedb/test/test_persistent.py
+++ b/lib/bridgedb/test/test_persistent.py
@@ -50,7 +50,7 @@ class StateTest(unittest.TestCase):
exec compiled in configuration
config = persistent.Conf(**configuration)
- fakeArgs = ['-v', '--dump-bridges']
+ fakeArgs = ['-c', os.path.join(os.getcwdu(), '..', 'bridgedb.conf')]
options = MainOptions()
options.parseOptions(fakeArgs)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits