[asterisk-commits] mjordan: testsuite/asterisk/trunk r4560 - in /asterisk/trunk/tests: channels/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 15 08:33:40 CST 2014


Author: mjordan
Date: Wed Jan 15 08:33:34 2014
New Revision: 4560

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4560
Log:
testsuite: Fix errors from pylint cleanup

A few tests were missed during the pylint cleanup. This patch corrects a few
bad imports, method renames, and parameter changes.

Modified:
    asterisk/trunk/tests/channels/SIP/noload_res_srtp_attempt_srtp/run-test
    asterisk/trunk/tests/connected_line/macro/run-test
    asterisk/trunk/tests/connected_line/subroutine/run-test
    asterisk/trunk/tests/fastagi/channel-status/run-test
    asterisk/trunk/tests/fax/sip/local_channel_t38_queryoption/run-test
    asterisk/trunk/tests/redirecting/macro/run-test
    asterisk/trunk/tests/redirecting/subroutine/run-test

Modified: asterisk/trunk/tests/channels/SIP/noload_res_srtp_attempt_srtp/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/noload_res_srtp_attempt_srtp/run-test?view=diff&rev=4560&r1=4559&r2=4560
==============================================================================
--- asterisk/trunk/tests/channels/SIP/noload_res_srtp_attempt_srtp/run-test (original)
+++ asterisk/trunk/tests/channels/SIP/noload_res_srtp_attempt_srtp/run-test Wed Jan 15 08:33:34 2014
@@ -48,7 +48,7 @@
         self.ami[ami.id].registerEvent("VarSet", self.ami_test_varset)
 
         print "Initiating test call"
-        self.ast[0].cli_originate("SIP/2000/2000 extension 1000 at siptest1", blocking=False)
+        self.ast[0].cli_originate("SIP/2000/2000 extension 1000 at siptest1")
 
     # This is called whenever an AMI VarSet event occurs on Ast1.
     def ami_test_varset(self, ami, event):

Modified: asterisk/trunk/tests/connected_line/macro/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/connected_line/macro/run-test?view=diff&rev=4560&r1=4559&r2=4560
==============================================================================
--- asterisk/trunk/tests/connected_line/macro/run-test (original)
+++ asterisk/trunk/tests/connected_line/macro/run-test Wed Jan 15 08:33:34 2014
@@ -11,7 +11,7 @@
 import logging
 
 sys.path.append("lib/python")
-from asterisk.SimpleTestCase import SimpleTestCase
+from asterisk.test_case import SimpleTestCase
 from twisted.internet import reactor
 
 LOGGER = logging.getLogger(__name__)

Modified: asterisk/trunk/tests/connected_line/subroutine/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/connected_line/subroutine/run-test?view=diff&rev=4560&r1=4559&r2=4560
==============================================================================
--- asterisk/trunk/tests/connected_line/subroutine/run-test (original)
+++ asterisk/trunk/tests/connected_line/subroutine/run-test Wed Jan 15 08:33:34 2014
@@ -11,7 +11,7 @@
 import logging
 
 sys.path.append("lib/python")
-from asterisk.SimpleTestCase import SimpleTestCase
+from asterisk.test_case import SimpleTestCase
 from twisted.internet import reactor
 
 LOGGER = logging.getLogger(__name__)

Modified: asterisk/trunk/tests/fastagi/channel-status/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/channel-status/run-test?view=diff&rev=4560&r1=4559&r2=4560
==============================================================================
--- asterisk/trunk/tests/fastagi/channel-status/run-test (original)
+++ asterisk/trunk/tests/fastagi/channel-status/run-test Wed Jan 15 08:33:34 2014
@@ -70,7 +70,7 @@
 
     def launch_test(self):
         print "Originating call to begin test."
-        self.ast[0].cli_originate("Local/no_answer at agitest extension echo at agitest", blocking=False)
+        self.ast[0].cli_originate("Local/no_answer at agitest extension echo at agitest")
 
     # Read result before timeout 
     def result_changed(self):

Modified: asterisk/trunk/tests/fax/sip/local_channel_t38_queryoption/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/sip/local_channel_t38_queryoption/run-test?view=diff&rev=4560&r1=4559&r2=4560
==============================================================================
--- asterisk/trunk/tests/fax/sip/local_channel_t38_queryoption/run-test (original)
+++ asterisk/trunk/tests/fax/sip/local_channel_t38_queryoption/run-test Wed Jan 15 08:33:34 2014
@@ -52,7 +52,7 @@
             exten="1234",
             context="local-sendfax",
             priority=1
-        ).addErrback(self.handleOriginateFailure)
+        ).addErrback(self.handle_originate_failure)
 
     def run(self):
         '''Setup debugging on the asterisk instances and create AMI

Modified: asterisk/trunk/tests/redirecting/macro/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/redirecting/macro/run-test?view=diff&rev=4560&r1=4559&r2=4560
==============================================================================
--- asterisk/trunk/tests/redirecting/macro/run-test (original)
+++ asterisk/trunk/tests/redirecting/macro/run-test Wed Jan 15 08:33:34 2014
@@ -11,7 +11,7 @@
 import logging
 
 sys.path.append("lib/python")
-from asterisk.SimpleTestCase import SimpleTestCase
+from asterisk.test_case import SimpleTestCase
 from twisted.internet import reactor
 
 LOGGER = logging.getLogger(__name__)

Modified: asterisk/trunk/tests/redirecting/subroutine/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/redirecting/subroutine/run-test?view=diff&rev=4560&r1=4559&r2=4560
==============================================================================
--- asterisk/trunk/tests/redirecting/subroutine/run-test (original)
+++ asterisk/trunk/tests/redirecting/subroutine/run-test Wed Jan 15 08:33:34 2014
@@ -11,7 +11,7 @@
 import logging
 
 sys.path.append("lib/python")
-from asterisk.SimpleTestCase import SimpleTestCase
+from asterisk.test_case import SimpleTestCase
 from twisted.internet import reactor
 
 LOGGER = logging.getLogger(__name__)




More information about the asterisk-commits mailing list