[asterisk-commits] mmichelson: branch mmichelson/v6tests r488 - /asterisk/team/mmichelson/v6test...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 13 09:02:06 CDT 2010


Author: mmichelson
Date: Tue Jul 13 09:02:02 2010
New Revision: 488

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=488
Log:
Test passes now!

It certainly helps to pass the correct expected peer name around. :)


Modified:
    asterisk/team/mmichelson/v6tests/tests/sip_register/run-test

Modified: asterisk/team/mmichelson/v6tests/tests/sip_register/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/v6tests/tests/sip_register/run-test?view=diff&rev=488&r1=487&r2=488
==============================================================================
--- asterisk/team/mmichelson/v6tests/tests/sip_register/run-test (original)
+++ asterisk/team/mmichelson/v6tests/tests/sip_register/run-test Tue Jul 13 09:02:02 2010
@@ -47,8 +47,8 @@
         self.logLastStep("Connected to the AMI")
         self.ami = ami
         self.ami.registerEvent("PeerStatus", self.checkRegisterResult)
-        self.startSipp("v4", "127.0.0.1", "registerv4.xml", "5061")
-        self.startSipp("v6", "[::1]", "registerv6.xml", "5062")
+        self.startSipp("SIP/v4", "127.0.0.1", "registerv4.xml", "5061")
+        self.startSipp("SIP/v6", "[::1]", "registerv6.xml", "5062")
 
     def amiLoginError(self, ami):
         self.logLastStep("AMI login failed")
@@ -99,7 +99,7 @@
                 continue;
             else:
                 passing = False
-                print ("Registration failure for peer %s" % i['peer'])
+                print ("Registration failure for peer %s" % (i['peer']))
             i['process'].terminate()
 
         self.asterisk.stop()




More information about the asterisk-commits mailing list