[asterisk-dev] [Code Review] Add a CELModule for configuration defined tests

opticron reviewboard at asterisk.org
Tue Jul 17 14:10:47 CDT 2012


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



/asterisk/trunk/lib/python/asterisk/cel.py
<https://reviewboard.asterisk.org/r/2050/#comment12717>

    If all the parameter names are the same as the dict keys, you can just unpack the dict into the parameter list using **.


- opticron


On July 16, 2012, 1:29 p.m., Matt Jordan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2050/
> -----------------------------------------------------------
> 
> (Updated July 16, 2012, 1:29 p.m.)
> 
> 
> Review request for Asterisk Developers, Mark Michelson and Terry Wilson.
> 
> 
> Summary
> -------
> 
> This patch adds a CELModule to the Asterisk Test Suite for configuration defined tests.  As not much actually tests CEL records at this point, no tests were harmed in the making of this module.
> 
> Note that this parrots the behavior of the CDRModule, and can be configured in a similar manner - although instead of specifying CDR fields in each CSV line, CEL fields would be specified instead.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/lib/python/asterisk/cel.py 3325 
> 
> Diff: https://reviewboard.asterisk.org/r/2050/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Matt
> 
>

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


More information about the asterisk-dev mailing list