Skip to content

Commit

Permalink
once more for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
meejah committed Feb 1, 2017
1 parent 0e50faa commit d0b513e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_endpoints.py
Expand Up @@ -184,8 +184,9 @@ def test_progress_updates(self):
ep._tor_progress_update(*args)
self.assertTrue(ding.called_with(*args))

@patch('txtorcon.controller.find_tor_binary', return_value='/bin/echo')
@patch('txtorcon.endpoints.launch_tor')
def test_progress_updates_private_tor(self, tor):
def test_progress_updates_private_tor(self, tor, ftb):
ep = TCPHiddenServiceEndpoint.private_tor(self.reactor, 1234)
self.assertEqual(len(tor.mock_calls), 1)
tor.call_args[1]['progress_updates'](40, 'FOO', 'foo to the bar')
Expand Down

0 comments on commit d0b513e

Please sign in to comment.