File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,14 @@ def setUp(self):
5252
5353 def test_to_bxml (self ):
5454 if os .environ ['PYTHON_VERSION' ] == '3.7' :
55- expected = '<Conference mute="true" hold="false" callIdsToCoach="example-call-id" conferenceEventUrl="example .com/eventurl" conferenceEventMethod="POST" conferenceEventFallbackUrl="backupexample .com/eventurl" conferenceEventFallbackMethod="POST" username ="user" password="pass" fallbackUsername="user" fallbackPassword ="pass" tag="tag" callbackTimeout="5 ">conf1<PlayAudio>https://audio.url/audio1.wav</PlayAudio><StartRecording recordingAvailableUrl="example.com" recordingAvailableMethod="POST" username="user" password="pass" tag="tag" fileFormat="wav" multiChannel="true " /></Conference>'
55+ expected = '<Conference callIdsToCoach="example-call-id" callbackTimeout="5" conferenceEventFallbackMethod="POST" conferenceEventFallbackUrl="backupexample .com/eventurl" conferenceEventMethod="POST" conferenceEventUrl="example .com/eventurl" fallbackPassword="pass" fallbackUsername ="user" hold="false" mute="true" password ="pass" tag="tag" username="user ">conf1<PlayAudio>https://audio.url/audio1.wav</PlayAudio><StartRecording fileFormat="wav" multiChannel="true" password="pass" recordingAvailableMethod="POST" recordingAvailableUrl="example.com" tag="tag" username="user " /></Conference>'
5656 else :
5757 expected = '<Conference mute="true" hold="false" callIdsToCoach="example-call-id" conferenceEventUrl="example.com/eventurl" conferenceEventMethod="POST" conferenceEventFallbackUrl="backupexample.com/eventurl" conferenceEventFallbackMethod="POST" username="user" password="pass" fallbackUsername="user" fallbackPassword="pass" tag="tag" callbackTimeout="5">conf1<PlayAudio>https://audio.url/audio1.wav</PlayAudio><StartRecording recordingAvailableUrl="example.com" recordingAvailableMethod="POST" username="user" password="pass" tag="tag" fileFormat="wav" multiChannel="true" /></Conference>'
5858 assert (expected == self .conference .to_bxml ())
5959
6060 def test_add_verb (self ):
6161 if os .environ ['PYTHON_VERSION' ] == '3.7' :
62- expected = '<Conference mute="true" hold="false" callIdsToCoach="example-call-id" conferenceEventUrl="example .com/eventurl" conferenceEventMethod="POST" conferenceEventFallbackUrl="backupexample .com/eventurl" conferenceEventFallbackMethod="POST" username ="user" password="pass" fallbackUsername="user" fallbackPassword ="pass" tag="tag" callbackTimeout="5 ">conf1<PlayAudio>https://audio.url/audio1.wav</PlayAudio><StartRecording recordingAvailableUrl="example.com" recordingAvailableMethod="POST" username="user" password="pass" tag="tag" fileFormat="wav" multiChannel="true " /><SpeakSentence>Hello there.</SpeakSentence></Conference>'
62+ expected = '<Conference callIdsToCoach="example-call-id" callbackTimeout="5" conferenceEventFallbackMethod="POST" conferenceEventFallbackUrl="backupexample .com/eventurl" conferenceEventMethod="POST" conferenceEventUrl="example .com/eventurl" fallbackPassword="pass" fallbackUsername ="user" hold="false" mute="true" password ="pass" tag="tag" username="user ">conf1<PlayAudio>https://audio.url/audio1.wav</PlayAudio><StartRecording fileFormat="wav" multiChannel="true" password="pass" recordingAvailableMethod="POST" recordingAvailableUrl="example.com" tag="tag" username="user " /><SpeakSentence>Hello there.</SpeakSentence></Conference>'
6363 else :
6464 expected = '<Conference mute="true" hold="false" callIdsToCoach="example-call-id" conferenceEventUrl="example.com/eventurl" conferenceEventMethod="POST" conferenceEventFallbackUrl="backupexample.com/eventurl" conferenceEventFallbackMethod="POST" username="user" password="pass" fallbackUsername="user" fallbackPassword="pass" tag="tag" callbackTimeout="5">conf1<PlayAudio>https://audio.url/audio1.wav</PlayAudio><StartRecording recordingAvailableUrl="example.com" recordingAvailableMethod="POST" username="user" password="pass" tag="tag" fileFormat="wav" multiChannel="true" /><SpeakSentence>Hello there.</SpeakSentence></Conference>'
6565 self .conference .add_verb (self .speak_sentence )
You can’t perform that action at this time.
0 commit comments