[asterisk-bugs] [JIRA] Updated: (ASTERISK-20502) Definition of new test-condition called sip-channels, which checks for the output of "sip show channels"
NITESH BANSAL (JIRA)
noreply at issues.asterisk.org
Tue Oct 2 08:16:27 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
NITESH BANSAL updated ASTERISK-20502:
-------------------------------------
Attachment: test-config.yaml
SipChannelTestCondition.py
Attached is the definition of sip-channels in the global test-config.yaml
And python code implementing it.
> Definition of new test-condition called sip-channels, which checks for the output of "sip show channels"
> ---------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-20502
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20502
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Tests/testsuite
> Affects Versions: 11.0.0-beta1
> Environment: Debian Squeeze x86_64
> Reporter: NITESH BANSAL
> Severity: Minor
> Attachments: SipChannelTestCondition.py, test-config.yaml
>
>
> Hello All,
> I have got the "sip show channels" working for me in the testsuite. I have defined a new testcondition sip-channels which checks for the output of "sip show channels" at the end of a test case and validates the output against the allowedchannels parameter defined in the test-config.yaml file.
> Please find the global test-config.yaml defining this condition and python class
> implementing the behaviour for this condition. I would request you to have a look at the code and if it seems fine then i assume there is no harm in merging this code in testsuite trunk.
> Regards,
> Nitesh Bansal
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list