Example #1
0
 def test_fire_event(self):
     event_tasks.event('my_event', self, 1, 2, a=5)
     assert self.called_with == [((1, 2), {'a': 5})], self.called_with
Example #2
0
 def test_fire_event(self):
     event_tasks.event('my_event', self, 1, 2, a=5)
     assert self.called_with == [((1, 2), {'a': 5})], self.called_with