Пример #1
0
 def test_get_utterance_from_empty_intent(self):
     processor = MongoProcessor()
     with pytest.raises(AssertionError):
         response = processor.get_utterance_from_intent("", "tests")
Пример #2
0
 def test_get_utterance_from_intent(self):
     processor = MongoProcessor()
     response = processor.get_utterance_from_intent("deny", "tests")
     print(response)
     assert response == "utter_goodbye"