[asterisk-commits] pabelanger: testsuite/asterisk/trunk r1807 - /asterisk/trunk/lib/python/aster...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 3 11:26:34 CDT 2011


Author: pabelanger
Date: Wed Aug  3 11:26:30 2011
New Revision: 1807

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1807
Log:
Add unit test for previous commit

Modified:
    asterisk/trunk/lib/python/asterisk/version.py

Modified: asterisk/trunk/lib/python/asterisk/version.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/version.py?view=diff&rev=1807&r1=1806&r2=1807
==============================================================================
--- asterisk/trunk/lib/python/asterisk/version.py (original)
+++ asterisk/trunk/lib/python/asterisk/version.py Wed Aug  3 11:26:30 2011
@@ -271,6 +271,12 @@
         v2 = AsteriskVersion("1.8")
         self.assertTrue(v1 > v2)
 
+    def test_cmp15(self):
+        v1 = AsteriskVersion("SVN-trunk-r245581")
+        v2 = AsteriskVersion("SVN-branch-10-r25123")
+        self.assertTrue(v1 > v2)
+
+
 def main():
     unittest.main()
 




More information about the asterisk-commits mailing list