-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support gather verb #8
Conversation
…-8-support-gather-verb Conflicts: vumi_twilio_api/tests/test_twilio_api.py vumi_twilio_api/twilio_api.py
if numDigits < 1: | ||
raise TwiMLParseError( | ||
"Invalid value %r for numDigits parameter. Must be >=1" | ||
% numDigits) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's worthwhile factoring out a simple integer checking function?
Conflicts: vumi_twilio_api/tests/test_twilio_api.py vumi_twilio_api/twilio_api.py
Ready for review. |
self.assertEqual(gather.nouns[0].name, 'Play') | ||
|
||
def test_gather_from_xml_invalid_sub_verbs(self): | ||
"""Shoudl raise an exception for invalid sub verbs""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Shoudl/Should/
:)
Left one minor comment. Looks good though. There are a lot of TODOs, but I'd like to start trying things out with Rapid before we worry too much about being feature complete. |
The TODOS are mostly things that I don't think are necessary for Rapid, but they're there for if something with Rapid doesn't work, we know where to put the feature that needs to be added. Also to keep a note of what we need to add in future if we want to make it feature complete. |
Issues addressed. |
👍 as soon as Travis is happy. |
No description provided.