Skip to content

Commit

Permalink
NameError: global name 'call' is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
kormoc committed Dec 20, 2011
1 parent 9513b37 commit ccf1bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/TestTCPCollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def test_should_work_with_synthetic_data(self, publish_mock, open_mock):

self.assertEqual(len(publish_mock.call_args_list), 2)
self.assertEqual(publish_mock.call_args_list, [
call('A', '0', 0),
call('C', '2', 0)
(('A', '0', 0), {}),
(('C', '2', 0), {})
])

@patch.object(Collector, 'publish')
Expand Down

0 comments on commit ccf1bdd

Please sign in to comment.