[asterisk-commits] russell: testsuite/asterisk/trunk r578 - /asterisk/trunk/tests/manager/login/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jul 24 17:11:37 CDT 2010


Author: russell
Date: Sat Jul 24 17:11:34 2010
New Revision: 578

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=578
Log:
Ensure stop_asterisk() is only called once

Modified:
    asterisk/trunk/tests/manager/login/run-test

Modified: asterisk/trunk/tests/manager/login/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/manager/login/run-test?view=diff&rev=578&r1=577&r2=578
==============================================================================
--- asterisk/trunk/tests/manager/login/run-test (original)
+++ asterisk/trunk/tests/manager/login/run-test Sat Jul 24 17:11:34 2010
@@ -33,7 +33,6 @@
         self.asterisk.install_config("tests/manager/login/configs/logger.conf")
 
     def stop_reactor(self):
-        self.stop_asterisk()
         print "Stopping Reactor ..."
         if reactor.running:
             reactor.stop()
@@ -53,7 +52,7 @@
 
     def on_error(self, ami):
         print "ERROR, Last Step: %s" % self.last_step
-        self.stop_asterisk()
+        self.stop_reactor()
 
     def on_logoff(self, ami):
         self.log_last_step("Logoff Successful")




More information about the asterisk-commits mailing list