@@ -376,7 +376,7 @@ class TestEnqueue(TwilioTest):
376
376
def setUp (self ):
377
377
r = Response ()
378
378
r .enqueue ("TestEnqueueAttribute" , action = "act" , method = 'GET' ,
379
- wait_url = 'wait' , wait_url_method = 'POST' )
379
+ waitUrl = 'wait' , waitUrlMethod = 'POST' )
380
380
xml = r .toxml ()
381
381
382
382
#parse twiml XML string with Element Tree and inspect
@@ -388,7 +388,7 @@ def test_conf_text(self):
388
388
self .assertEqual (self .conf .text .strip (), "TestEnqueueAttribute" )
389
389
390
390
def test_conf_waiturl (self ):
391
- self .assertEqual (self .conf .get ('wait_url ' ), "wait" )
391
+ self .assertEqual (self .conf .get ('waitUrl ' ), "wait" )
392
392
393
393
def test_conf_method (self ):
394
394
self .assertEqual (self .conf .get ('method' ), "GET" )
@@ -397,7 +397,7 @@ def test_conf_action(self):
397
397
self .assertEqual (self .conf .get ('action' ), "act" )
398
398
399
399
def test_conf_waitmethod (self ):
400
- self .assertEqual (self .conf .get ('wait_url_method ' ), "POST" )
400
+ self .assertEqual (self .conf .get ('waitUrlMethod ' ), "POST" )
401
401
402
402
403
403
class TestDial (TwilioTest ):
0 commit comments