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

mjordan reviewboard at asterisk.org
Mon Aug 29 10:04:34 CDT 2011



> On Aug. 29, 2011, 9:39 a.m., Paul Belanger wrote:
> > /asterisk/trunk/lib/python/asterisk/voicemail.py, lines 15-16
> > <https://reviewboard.asterisk.org/r/1382/diff/3/?file=19478#file19478line15>
> >
> >     For the purpose of this review, please remove these updates.

datetime removed, logging is technically part of this review since it was added for all things in lib/python.


- mjordan


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


On Aug. 29, 2011, 10:04 a.m., mjordan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1382/
> -----------------------------------------------------------
> 
> (Updated Aug. 29, 2011, 10:04 a.m.)
> 
> 
> 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/asttest/asttest.c 1997 
>   /asterisk/trunk/lib/python/asterisk/TestCase.py 1997 
>   /asterisk/trunk/lib/python/asterisk/ami.py 1997 
>   /asterisk/trunk/lib/python/asterisk/asterisk.py 1997 
>   /asterisk/trunk/lib/python/asterisk/cdr.py 1997 
>   /asterisk/trunk/lib/python/asterisk/config.py 1997 
>   /asterisk/trunk/lib/python/asterisk/sipp.py 1997 
>   /asterisk/trunk/lib/python/asterisk/version.py 1997 
>   /asterisk/trunk/lib/python/asterisk/voicemail.py 1997 
>   /asterisk/trunk/lib/python/client.py 1997 
>   /asterisk/trunk/runtests.py 1997 
>   /asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/extensions.conf 1997 
>   /asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/run-test 1997 
>   /asterisk/trunk/tests/apps/voicemail/tests.yaml 1997 
> 
> 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/20110829/5656a988/attachment.htm>


More information about the asterisk-dev mailing list