Created
January 23, 2018 16:46
-
-
Save dtmilano/5ba8d5548274e61f0d1aba34755618fa to your computer and use it in GitHub Desktop.
Sample test showing an Alexa conversation for BookMyTripSkill
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AlexaSkillManagementClientTests(AlexaSkillTest): | |
def test_book_my_trip_reserve_a_car(self): | |
skill_name = 'BookMyTripSkill' | |
intent = 'BookCar' | |
conversation = [ | |
{'slot': None, 'text': 'ask book my trip to reserve a car'}, | |
{'slot': 'CarType', 'text': 'midsize'}, | |
{'slot': 'PickUpCity', 'text': 'buenos aires'}, | |
{'slot': 'PickUpDate', 'text': 'tomorrow'}, | |
{'slot': 'ReturnDate', 'text': 'five days from now'}, | |
{'slot': 'DriverAge', 'text': 'twenty five'}, | |
{'slot': None, 'prompt': 'Confirmation', 'text': 'yes'} | |
] | |
self.conversation_text(skill_name, intent, conversation, verbose=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment