8000 Remove Header test · Stackdriver/twilio-python@241a6b5 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 1, 2018. It is now read-only.

Commit 241a6b5

Browse files
author
Kevin Burke
committed
Remove Header test
1 parent 39a3669 commit 241a6b5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/test_twiml.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -437,17 +437,6 @@ def testSipUri(self):
437437
r = self.strip(r)
438438
self.assertEquals(r, '<?xml version="1.0" encoding="UTF-8"?><Response><Dial><Sip><Uri>foo@example.com</Uri></Sip></Dial></Response>')
439439

440-
def testSipUriHeaders(self):
441-
""" should redirect the call"""
442-
r = Response()
443-
d = r.dial()
444-
s = d.sip()
445-
s.uri('foo@example.com')
446-
s.headers({'foo-bar': 'key'})
447-
r = self.strip(r)
448-
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>')
449-
450-
451440
def testConvienceMethod(self):
452441
""" should dial to a url via post"""
453442
r = Response()

0 commit comments

Comments
 (0)
0