From 59efd11f6fb98f77d1bf86d502eaa1f03ae7b681 Mon Sep 17 00:00:00 2001 From: Abinaya-Shunmugavel Date: Tue, 19 Nov 2024 15:40:42 +0530 Subject: [PATCH] fixed UTs --- tests/xml/test_responseElement.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/xml/test_responseElement.py b/tests/xml/test_responseElement.py index e7efb230..f15f8fe4 100644 --- a/tests/xml/test_responseElement.py +++ b/tests/xml/test_responseElement.py @@ -119,9 +119,11 @@ def test_add_mpc(self): 'statusCallbackMethod="GET" stayAlone="false" ' \ 'stopRecordingAudio="https://plivo.com/plivoTone.mp3" ' \ 'stopRecordingAudioMethod="GET" ' \ + 'transcript="true" ' \ + 'transcriptionUrl="https://plivo.com/plivoTone.mp3" ' \ 'waitMusicMethod="POST" ' \ - 'waitTime="5" ' \ - 'waitMusicUrl="https://plivo.com/plivoTone.mp3">multi party conference' \ + 'waitMusicUrl = "https://plivo.com/plivoTone.mp3" ' \ + 'waitTime="5">multi party conference ' \ '' elem = plivoxml.ResponseElement().add_multi_party_call(content='multi party conference', role='customer', @@ -132,5 +134,7 @@ def test_add_mpc(self): enter_sound='beep:2', exit_sound='beep:1', hold=True, on_exit_action_url='https://plivo.com/exitAction', start_recording_audio='https://plivo.com/plivoTone.mp3', - stop_recording_audio='https://plivo.com/plivoTone.mp3') + stop_recording_audio='https://plivo.com/plivoTone.mp3', + transcript=True, + transcription_url="https://plivo.com/plivoTone.mp3") self.assertXmlEqual(expected_xml, elem.to_string(False))