8000 Add sip out TwiML verbs by kyleconroy · Pull Request #110 · twilio/twilio-python · GitHub
[go: up one dir, main page]

Skip to content

Add sip out TwiML verbs #110

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

Merged
merged 6 commits into from
Mar 11, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove Header test
  • Loading branch information
Kevin Burke committed Mar 7, 2013
commit 241a6b5797f8b3ad8e7eb04035893fafdb02872a
11 changes: 0 additions & 11 deletions tests/test_twiml.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,17 +437,6 @@ def testSipUri(self):
r = self.strip(r)
self.assertEquals(r, '<?xml version="1.0" encoding="UTF-8"?><Response><Dial><Sip><Uri>foo@example.com</Uri></Sip></Dial></Response>')
< 626C /td>
def testSipUriHeaders(self):
""" should redirect the call"""
r = Response()
d = r.dial()
s = d.sip()
s.uri('foo@example.com')
s.headers({'foo-bar': 'key'})
r = self.strip(r)
self.assertEquals(r, '<?xml version="1.0" encoding="UTF-8"?><Response><Dial><Sip><Uri>foo@example.com</Uri><Headers><Header name="foo-bar" value="key" /></Headers></Sip></Dial></Response>')


def testConvienceMethod(self):
""" should dial to a url via post"""
r = Response()
Expand Down
0