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

[tor-commits] [stem/master] Add patch line to test_from_man_when_manual_is_unavailable



commit 37248f3bb677b7526e733a773e0839c781ac08cf
Author: Edmund Wong <ewongbb@xxxxxxxxxxx>
Date:   Wed Oct 4 19:50:52 2017 +0800

    Add patch line to test_from_man_when_manual_is_unavailable
---
 test/unit/manual.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/unit/manual.py b/test/unit/manual.py
index 6640baf2..04528ad9 100644
--- a/test/unit/manual.py
+++ b/test/unit/manual.py
@@ -297,6 +297,7 @@ class TestManual(unittest.TestCase):
     self.assertEqual(b'a2x output', output.getvalue())
     call_mock.assert_called_once_with('a2x -f manpage /no/such/path/tor.1.txt')
 
+  @patch('stem.manual.HAS_ENCODING_ARG', Mock(return_value = True))
   @patch('stem.util.system.is_mac', Mock(return_value = False))
   @patch('stem.util.system.is_bsd', Mock(return_value = False))
   @patch('stem.util.system.is_slackware', Mock(return_value = False))

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits