diff options
| author | Damian Johnson <atagar@torproject.org> | 2017-05-24 12:40:38 -0700 |
|---|---|---|
| committer | Damian Johnson <atagar@torproject.org> | 2017-05-24 12:40:38 -0700 |
| commit | b21d5909062dad03f2fd48675e28897aa11e5dc3 (patch) | |
| tree | 2fe803892180d635069bfe007f11ab25a85437ce | |
| parent | 2c239e208b8bad36fd2b3b6c2325f1013cd56600 (diff) | |
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
| -rw-r--r-- | test/integ/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integ/process.py b/test/integ/process.py index 95c14cbd..207d4b42 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): |
