[asterisk-commits] pabelanger: branch pabelanger/sipp r1096 - /asterisk/team/pabelanger/sipp/lib...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 7 11:52:35 CST 2010


Author: pabelanger
Date: Tue Dec  7 11:52:31 2010
New Revision: 1096

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1096
Log:
Minor reorder and bug fix.

Modified:
    asterisk/team/pabelanger/sipp/lib/python/sipp/version.py

Modified: asterisk/team/pabelanger/sipp/lib/python/sipp/version.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/sipp/lib/python/sipp/version.py?view=diff&rev=1096&r1=1095&r2=1096
==============================================================================
--- asterisk/team/pabelanger/sipp/lib/python/sipp/version.py (original)
+++ asterisk/team/pabelanger/sipp/lib/python/sipp/version.py Tue Dec  7 11:52:31 2010
@@ -179,13 +179,13 @@
 
     def test_cmp7(self):
         v1 = SIPpVersion("v3.2-TLS-PCAP")
+        v2 = SIPpVersion("v3.2-PCAP")
+        self.assertTrue(v1 > v2)
+
+    def test_cmp8(self):
+        v1 = SIPpVersion("v3.2-TLS-PCAP")
         v2 = SIPpVersion("v3.2-TLS")
         self.assertFalse(v1 == v2)
-
-    def test_cmp8(self):
-        v1 = SIPpVersion("v3.2-TLS-PCAP")
-        v2 = SIPpVersion("v3.2-PCAP")
-        self.assertTrue(v1 >= v2)
 
     def test_cmp9(self):
         v1 = SIPpVersion("v3.2-TLS-PCAP")
@@ -217,6 +217,7 @@
         v2 = SIPpVersion("v3.1-TLS-PCAP")
         self.assertFalse(v1 < v2)
 
+
 def main():
     unittest.main()
 




More information about the asterisk-commits mailing list