[asterisk-commits] tests/apps/voicemail: Use tt-weasels instead of tt-monkeys (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 25 05:35:55 CDT 2017


Jenkins2 has submitted this change and it was merged. ( 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(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



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: merged
Gerrit-Change-Id: Id943f36e9a4317cd0f1e3fa18f83c85b4afba04b
Gerrit-Change-Number: 6065
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170725/75033919/attachment-0001.html>


More information about the asterisk-commits mailing list