[asterisk-dev] [Code Review] TestSuite logging addition

mjordan reviewboard at asterisk.org
Thu Aug 25 13:39:05 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1382/
-----------------------------------------------------------

Review request for Asterisk Developers and Paul Belanger.


Summary
-------

Pulled out the logging functionality from review 1380 (https://reviewboard.asterisk.org/r/1380/).  That review will be updated once this review is completed.

This review adds Python logging to the test suite.  The Python libraries were updated to use this.  Note that runtests.py now creates a log file log-console-output.txt to not conflict with the Python log created by TestCase.


Diffs
-----

  /asterisk/trunk/tests/fastagi/say-datetime/run-test 1911 
  /asterisk/trunk/tests/fastagi/say-digits/run-test 1911 
  /asterisk/trunk/tests/fastagi/say-number/run-test 1911 
  /asterisk/trunk/tests/fastagi/say-phonetic/run-test 1911 
  /asterisk/trunk/tests/fastagi/say-time/run-test 1911 
  /asterisk/trunk/tests/fastagi/wait-for-digit/run-test 1911 
  /asterisk/trunk/tests/feature_attended_transfer/run-test 1911 
  /asterisk/trunk/tests/feature_blonde_transfer/run-test 1911 
  /asterisk/trunk/tests/iax2/basic-call/run-test 1911 
  /asterisk/trunk/tests/manager/event-monitor/run-test 1911 
  /asterisk/trunk/tests/mixmonitor/run-test 1911 
  /asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test 1911 
  /asterisk/trunk/tests/one-step-parking/run-test 1911 
  /asterisk/trunk/tests/pbx/call-files/run-test 1911 
  /asterisk/trunk/tests/udptl_v6/run-test 1911 
  /asterisk/trunk/tests/fastagi/say-alpha/run-test 1911 
  /asterisk/trunk/tests/fastagi/say-date/run-test 1911 
  /asterisk/trunk/tests/fastagi/record-file/run-test 1911 
  /asterisk/trunk/tests/fastagi/hangup/run-test 1911 
  /asterisk/trunk/tests/fastagi/execute/run-test 1911 
  /asterisk/trunk/tests/fastagi/get-data/run-test 1911 
  /asterisk/trunk/tests/directed_pickup/run-test 1911 
  /asterisk/trunk/tests/chanspy/chanspy_barge/run-test 1911 
  /asterisk/trunk/tests/chanspy/chanspy_w_mixmonitor/run-test 1911 
  /asterisk/trunk/tests/channels/SIP/sip_one_legged_transfer_v6/run-test 1911 
  /asterisk/trunk/tests/channels/SIP/sip_register/run-test 1911 
  /asterisk/trunk/tests/channels/SIP/sip_attended_transfer_v6/run-test 1911 
  /asterisk/trunk/tests/channels/SIP/sip_one_legged_transfer/run-test 1911 
  /asterisk/trunk/tests/channels/SIP/sip_attended_transfer_tcp/run-test 1911 
  /asterisk/trunk/tests/channels/SIP/sip_attended_transfer/run-test 1911 
  /asterisk/trunk/lib/python/asterisk/version.py 1911 
  /asterisk/trunk/lib/python/asterisk/voicemail.py 1911 
  /asterisk/trunk/runtests.py 1911 
  /asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/extensions.conf 1911 
  /asterisk/trunk/tests/apps/voicemail/tests.yaml 1911 
  /asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test 1911 
  /asterisk/trunk/lib/python/asterisk/sipp.py 1911 
  /asterisk/trunk/lib/python/asterisk/config.py 1911 
  /asterisk/trunk/lib/python/asterisk/cdr.py 1911 
  /asterisk/trunk/lib/python/asterisk/asterisk.py 1911 
  /asterisk/trunk/lib/python/asterisk/ami.py 1911 
  /asterisk/trunk/asttest/asttest.c 1911 
  /asterisk/trunk/lib/python/asterisk/TestCase.py 1911 

Diff: https://reviewboard.asterisk.org/r/1382/diff


Testing
-------

Python logging was used in all of the new VoiceMailMain tests, on review at https://reviewboard.asterisk.org/r/1380/.  Tested with a variety of log levels, including DEBUG, INFO, WARN, and ERROR.


Thanks,

mjordan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110825/92d1a174/attachment-0001.htm>


More information about the asterisk-dev mailing list