8000 Merge pull request #137 from juggernaut/enqueue-doc-fix · manniru/twilio-python@f19f15e · GitHub
[go: up one dir, main page]

Skip to content

Commit f19f15e

Browse files
committed
Merge pull request twilio#137 from juggernaut/enqueue-doc-fix
Enqueue doc fix
2 parents 9db66ed + 3ea9130 commit f19f15e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_twiml.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class TestEnqueue(TwilioTest):
376376
def setUp(self):
377377
r = Response()
378378
r.enqueue("TestEnqueueAttribute", action="act", method='GET',
379-
wait_url='wait', wait_url_method='POST')
379+
waitUrl='wait', waitUrlMethod='POST')
380380
xml = r.toxml()
381381

382382
#parse twiml XML string with Element Tree and inspect
@@ -388,7 +388,7 @@ def test_conf_text(self):
388388
self.assertEqual(self.conf.text.strip(), "TestEnqueueAttribute")
389389

390390
def test_conf_waiturl(self):
391-
self.assertEqual(self.conf.get('wait_url'), "wait")
391+
self.assertEqual(self.conf.get('waitUrl'), "wait")
392392

393393
def test_conf_method(self):
394394
self.assertEqual(self.conf.get('method'), "GET")
@@ -397,7 +397,7 @@ def test_conf_action(self):
397397
self.assertEqual(self.conf.get('action'), "act")
398398

399399
def test_conf_waitmethod(self):
400-
self.assertEqual(self.conf.get('wait_url_method'), "POST")
400+
self.assertEqual(self.conf.get('waitUrlMethod'), "POST")
401401

402402

403403
class TestDial(TwilioTest):

0 commit comments

Comments
 (0)
0