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

atagar at torproject.org atagar at torproject.org
Wed Oct 4 16:51:54 UTC 2017


commit 37248f3bb677b7526e733a773e0839c781ac08cf
Author: Edmund Wong <ewongbb at pw-wspx.org>
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))



More information about the tor-commits mailing list