[asterisk-commits] kmoore: testsuite/asterisk/trunk r3314 - /asterisk/trunk/tests/channels/SIP/h...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 12 14:33:48 CDT 2012
Author: kmoore
Date: Thu Jul 12 14:33:45 2012
New Revision: 3314
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3314
Log:
Remove manual port number setting from the SIP header test
The port numbers are now set automatically.
Modified:
asterisk/trunk/tests/channels/SIP/header_parsing/run-test
Modified: asterisk/trunk/tests/channels/SIP/header_parsing/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/header_parsing/run-test?view=diff&rev=3314&r1=3313&r2=3314
==============================================================================
--- asterisk/trunk/tests/channels/SIP/header_parsing/run-test (original)
+++ asterisk/trunk/tests/channels/SIP/header_parsing/run-test Thu Jul 12 14:33:45 2012
@@ -24,16 +24,8 @@
{'scenario' : 'mixed_compact_inverse.xml',},
]
-# set port numberings and timeouts
-port = 5061
-def update_entry(entry):
- global port
- entry['-p'] = "%d" % port
- port += 1
-
# generate SIPP scenarios with appropriate port numbers and the config to go with it
def main():
- [update_entry(i) for i in SIPP_SCENARIOS]
test = SIPpTest(WORKING_DIR, TEST_DIR, SIPP_SCENARIOS)
reactor.run()
if not test.passed:
More information about the asterisk-commits
mailing list