Пример #1
0
 def test_calls_from_kwargs(self, from_kwargs):
     data = {"foo": "bar"}
     store_event(data=data)
     from_kwargs.assert_called_once_with(foo="bar")
Пример #2
0
 def test_calls_from_kwargs(self, from_kwargs):
     data = {'foo': 'bar'}
     store_event(data=data)
     from_kwargs.assert_called_once_with(foo='bar')
Пример #3
0
 def test_calls_from_kwargs(self, preprocess_event):
     data = {"foo": "bar"}
     store_event(data=data)
     preprocess_event.delay.assert_called_once_with(data=data)
Пример #4
0
 def test_calls_from_kwargs(self, preprocess_event):
     data = {'foo': 'bar'}
     store_event(data=data)
     preprocess_event.delay.assert_called_once_with(data=data)