commit b21d5909062dad03f2fd48675e28897aa11e5dc3 Author: Damian Johnson atagar@torproject.org Date: Wed May 24 12:40:38 2017 -0700
Process integ test failed if tor not on path
Huh. Not sure why I'm unable to repro this but I definitely see the issue. Every launch_tor() invokation specifies the tor_cmd except one. Fixing that...
https://trac.torproject.org/projects/tor/ticket/22367 --- test/integ/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integ/process.py b/test/integ/process.py index 95c14cb..207d4b4 100644 --- a/test/integ/process.py +++ b/test/integ/process.py @@ -207,7 +207,7 @@ class TestProcess(unittest.TestCase):
with patch('subprocess.Popen', Mock(return_value = mock_tor_process)): try: - stem.process.launch_tor() + stem.process.launch_tor(tor_cmd = test.runner.get_runner().get_tor_command()) self.fail("tor shoudn't have started") except KeyboardInterrupt as exc: if os.path.exists('/proc/%s' % mock_tor_process.pid):