[Asterisk-code-review] tests/apps/voicemail: Use tt-weasels instead of tt-monkeys (testsuite[master])
Richard Mudgett
asteriskteam at digium.com
Fri Jul 21 16:17:49 CDT 2017
Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/6065
Change subject: tests/apps/voicemail: Use tt-weasels instead of tt-monkeys
......................................................................
tests/apps/voicemail: Use tt-weasels instead of tt-monkeys
Use a shorter sound file so we don't waste so much time listening to a
long "recorded" voicemail message.
Change-Id: Id943f36e9a4317cd0f1e3fa18f83c85b4afba04b
---
M lib/python/asterisk/voicemail.py
M tests/apps/voicemail/check_voicemail_envelope/run-test
2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/65/6065/1
diff --git a/lib/python/asterisk/voicemail.py b/lib/python/asterisk/voicemail.py
index b2d2d96..22ae949 100644
--- a/lib/python/asterisk/voicemail.py
+++ b/lib/python/asterisk/voicemail.py
@@ -452,7 +452,7 @@
envelope_file.write('flag=Urgent\n')
else:
envelope_file.write('flag=\n')
- envelope_file.write('category=tt-monkeys\n')
+ envelope_file.write('category=tt-weasels\n')
envelope_file.write('duration=6\n')
for snd_format in formats:
diff --git a/tests/apps/voicemail/check_voicemail_envelope/run-test b/tests/apps/voicemail/check_voicemail_envelope/run-test
index bd9dcea..62123cf 100755
--- a/tests/apps/voicemail/check_voicemail_envelope/run-test
+++ b/tests/apps/voicemail/check_voicemail_envelope/run-test
@@ -133,8 +133,8 @@
elif message == 'vm-nomore':
""" Exit voicemail """
self.voice_mail_test.send_dtmf("#")
- elif message == 'tt-monkeys':
- self.voice_mail_test.set_test_condition("ttMonkeysHeard", True)
+ elif message == 'tt-weasels':
+ self.voice_mail_test.set_test_condition("ttWeaselsHeard", True)
elif message == 'vm-from-phonenumber':
self.voice_mail_test.set_test_condition("callerIdHeard", True)
elif message == 'vm-duration':
@@ -261,7 +261,7 @@
def returnValue(value, testCondition):
return value
- self.add_test_condition("ttMonkeysHeard", TestCondition(returnValue, False))
+ self.add_test_condition("ttWeaselsHeard", TestCondition(returnValue, False))
self.add_test_condition("durationHeard", TestCondition(returnValue, False))
self.add_test_condition("callerIdHeard", TestCondition(returnValue, False))
--
To view, visit https://gerrit.asterisk.org/6065
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id943f36e9a4317cd0f1e3fa18f83c85b4afba04b
Gerrit-Change-Number: 6065
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170721/ebfac892/attachment.html>
More information about the asterisk-code-review
mailing list