def test_get_utterance_from_empty_intent(self): processor = MongoProcessor() with pytest.raises(AssertionError): response = processor.get_utterance_from_intent("", "tests")
def test_get_utterance_from_intent(self): processor = MongoProcessor() response = processor.get_utterance_from_intent("deny", "tests") print(response) assert response == "utter_goodbye"