[tor-commits] [bridgedb/master] Fix a test_persistent unittest failing do to options rundir/config changes.

isis at torproject.org isis at torproject.org
Sun Jan 12 06:06:32 UTC 2014


commit da83ef26ef8c7734da4f6bcc039752dd6e8759d8
Author: Isis Lovecruft <isis at torproject.org>
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)
 





More information about the tor-commits mailing list