Skip to content

Commit

Permalink
fix transcriptions smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoegel committed Jul 31, 2024
1 parent 52cf71d commit d1a7d58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/smoke/test_transcriptions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ def create_call_transcription(self) -> None:


time.sleep(self.SLEEP_TIME_SEC)
start_transcription_bxml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><StartTranscription name=\"#{$manteca_call_id}\" tracks=\"inbound\"></StartTranscription><Pause duration=\"6\"/></Response>"
start_transcription_bxml = '<?xml version="1.0" encoding="UTF-8"?><Response><StartTranscription name="' + self.call_id + '" tracks="inbound"></StartTranscription><Pause duration="6"/></Response>'
start_response = self.calls_api_instance.update_call_bxml_with_http_info(
BW_ACCOUNT_ID, self.call_id, start_transcription_bxml)
assert_that(start_response.status_code, equal_to(204))

stop_transcription_bxml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><StopTranscription name=\"#{$manteca_call_id}\"></StopTranscription></Response>"
stop_transcription_bxml = '<?xml version="1.0" encoding="UTF-8"?><Response><StopTranscription name="' + self.call_id + '"></StopTranscription></Response>'
stop_response = self.calls_api_instance.update_call_bxml_with_http_info(
BW_ACCOUNT_ID, self.call_id, stop_transcription_bxml)
assert_that(stop_response.status_code, equal_to(204))
Expand Down

0 comments on commit d1a7d58

Please sign in to comment.