[asterisk-commits] mnick: testsuite/asterisk/trunk r735 - /asterisk/trunk/tests/blind-transfer-p...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 17 04:40:28 CDT 2010
Author: mnick
Date: Tue Aug 17 04:40:24 2010
New Revision: 735
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=735
Log:
cleaned the code
Modified:
asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test
Modified: asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test?view=diff&rev=735&r1=734&r2=735
==============================================================================
--- asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test (original)
+++ asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test Tue Aug 17 04:40:24 2010
@@ -31,7 +31,7 @@
# get version info
parser = OptionParser()
- parser.add_option("-v", "--version", dest="ast_version", \
+ parser.add_option("-v", "--version", dest="ast_version",
help="Asterisk version string")
(options, args) = parser.parse_args(argv)
self.ast_version = AsteriskVersion(options.ast_version)
@@ -43,14 +43,14 @@
reactor.callWhenRunning(self.run)
print self.ast_version
- self.asterisk1 = Asterisk( \
+ self.asterisk1 = Asterisk(
base="/tmp/asterisk-testsuite/blind-transfer-parkingtimeout")
- self.asterisk1.install_configs( \
+ self.asterisk1.install_configs(
"tests/blind-transfer-parkingtimeout/configs")
- self.asterisk2 = Asterisk( \
+ self.asterisk2 = Asterisk(
base="/tmp/asterisk-testsuite/blind-transfer-parkingtimeout")
- self.asterisk2.install_configs( \
+ self.asterisk2.install_configs(
"tests/blind-transfer-parkingtimeout/configs2")
# This gets invoked by the dialplan when test succeeds.
@@ -83,8 +83,8 @@
if (self.passed):
self.log_last_step("Test Passed...")
else:
- self.log_last_step("Test Failed... view result of \
- 'core show globals' in log for more detailed failure results.")
+ self.log_last_step("Test Failed... view result of "
+ "'core show globals' in log for more detailed failure results.")
if reactor.running:
print "Stopping Reactor ..."
@@ -100,8 +100,8 @@
self.asterisk1.cli_exec("core set verbose 10")
self.log_last_step("Originating call to begin test")
- self.asterisk1.cli_originate("IAX2/userA at 127.0.0.1:4571/b_exten \
- extension a_dials at parking")
+ self.asterisk1.cli_originate(
+ "IAX2/userA at 127.0.0.1:4571/b_exten extension a_dials at parking")
def start_asterisk(self):
self.log_last_step("Starting Asterisk")
More information about the asterisk-commits
mailing list