Skip to content

DX-2855 Update BXML library#133

Merged
ajrice6713 merged 9 commits intofeature/openapi-generator-sdkfrom
task/update-pause-bxml
Oct 18, 2022
Merged

DX-2855 Update BXML library#133
ajrice6713 merged 9 commits intofeature/openapi-generator-sdkfrom
task/update-pause-bxml

Conversation

@ajrice6713
Copy link
Contributor

No description provided.

@ajrice6713 ajrice6713 changed the base branch from main to feature/openapi-generator-sdk October 13, 2022 13:13
@ajrice6713 ajrice6713 changed the title Task/update pause bxml DX-2855 Update BXML library Oct 13, 2022
@ajrice6713 ajrice6713 marked this pull request as ready for review October 13, 2022 19:46
@ajrice6713 ajrice6713 requested a review from a team October 13, 2022 19:47
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>'
self.conference.add_verb(self.speak_sentence)
assert(expected == self.conference.to_bxml())
with pytest.raises(AttributeError):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your Test could follow same structure as your code in a way, that is, just like add_verb is only implemented in parent class TerminalVerb the test for it can be moved to a parent Test class TerminalVerbBaseTestCase removing Test duplication. Makes sense?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - great idea. Will reduce a lot of repeated tests

@ajrice6713 ajrice6713 requested a review from bpateldx October 14, 2022 19:11
@ajrice6713 ajrice6713 merged commit 409348f into feature/openapi-generator-sdk Oct 18, 2022
@ajrice6713 ajrice6713 deleted the task/update-pause-bxml branch October 18, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants