Skip to content

Commit

Permalink
Fix test in event emission
Browse files Browse the repository at this point in the history
operation param is now added to the event.
  • Loading branch information
jamesls committed Jun 19, 2014
1 parent d1e6103 commit 42bcda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_sse_headers(self):
prefix + 'algorithm': 'foo',
prefix + 'key': 'bar'
}}
self.session.emit(event, params=params)
self.session.emit(event, params=params, operation=mock.Mock())
self.assertEqual(
params['headers'][prefix + 'key'], 'YmFy')
self.assertEqual(
Expand Down

0 comments on commit 42bcda7

Please sign in to comment.