[svn-commits] russell: testsuite/asterisk/trunk r82 - /asterisk/trunk/asteriskversion.py
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Mar 17 15:28:03 CDT 2010
Author: russell
Date: Wed Mar 17 15:28:00 2010
New Revision: 82
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=82
Log:
Add another test case
Modified:
asterisk/trunk/asteriskversion.py
Modified: asterisk/trunk/asteriskversion.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asteriskversion.py?view=diff&rev=82&r1=81&r2=82
==============================================================================
--- asterisk/trunk/asteriskversion.py (original)
+++ asterisk/trunk/asteriskversion.py Wed Mar 17 15:28:00 2010
@@ -111,6 +111,12 @@
self.assertEqual(v5.revision, "249059M")
self.assertEqual(v5.parent, "/trunk")
+ v6 = AsteriskVersion("SVN-russell-rest-r12345")
+ self.assertTrue(v6.svn)
+ self.assertEqual(str(v6), "SVN-russell-rest-r12345")
+ self.assertEqual(v6.branch, "russell-rest")
+ self.assertEqual(v6.revision, "12345")
+
def main():
unittest.main()
More information about the svn-commits
mailing list