def test_calls_from_kwargs(self, from_kwargs): data = {"foo": "bar"} store_event(data=data) from_kwargs.assert_called_once_with(foo="bar")
def test_calls_from_kwargs(self, from_kwargs): data = {'foo': 'bar'} store_event(data=data) from_kwargs.assert_called_once_with(foo='bar')
def test_calls_from_kwargs(self, preprocess_event): data = {"foo": "bar"} store_event(data=data) preprocess_event.delay.assert_called_once_with(data=data)
def test_calls_from_kwargs(self, preprocess_event): data = {'foo': 'bar'} store_event(data=data) preprocess_event.delay.assert_called_once_with(data=data)