예제 #1
0
 def test_returns_a_dict(self, data, message):
     result = MAPPER.dump(message)
     assert result == data
예제 #2
0
 def test_returns_a_dict(self, data, audio):
     result = MAPPER.dump(audio, "audio")
     assert result == data
 def test_returns_a_dict(self, data, event):
     result = MAPPER.dump(event, "custom_event")
     assert result == data
예제 #4
0
 def test_returns_a_dict(self, data, image):
     result = MAPPER.dump(image, "image")
     assert result == data
 def test_returns_a_dict(self, data, action):
     result = MAPPER.dump(action, "customer_satisfaction_action")
     assert result == data
 def test_returns_a_dict(self, data, interlocutor):
     result = MAPPER.dump(interlocutor, "webhook_interlocutor")
     assert result == data
 def test_returns_a_dict(self, data, callback):
     result = MAPPER.dump(callback, "customer_satisfaction_callback_action")
     assert result == data
예제 #8
0
 def test_returns_a_dict(self, data, video):
     result = MAPPER.dump(video, "video")
     assert result == data
예제 #9
0
 def test_returns_a_dict(self, data, file):
     result = MAPPER.dump(file, "file")
     assert result == data
 def test_returns_a_dict(self, data, event):
     result = MAPPER.dump(event, "url_loaded_event")
     assert result == data