gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r963028 - /gump/trunk/python/gump/test/model.py
Date Sun, 11 Jul 2010 09:50:42 GMT
Author: bodewig
Date: Sun Jul 11 09:50:41 2010
New Revision: 963028

URL: http://svn.apache.org/viewvc?rev=963028&view=rev
Log:
adapt tests to SCM changes made many moons ago, fix an undefined variable while I'm at it

Modified:
    gump/trunk/python/gump/test/model.py

Modified: gump/trunk/python/gump/test/model.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/test/model.py?rev=963028&r1=963027&r2=963028&view=diff
==============================================================================
--- gump/trunk/python/gump/test/model.py (original)
+++ gump/trunk/python/gump/test/model.py Sun Jul 11 09:50:41 2010
@@ -169,17 +169,17 @@ class ModelTestSuite(UnitTestSuite):
         
         self.assertTrue('Module has CVS',
                         module1.getScm().getScmType() == SCM_TYPE_CVS)
-        self.assertNonZeroString('CVSROOT',module1.cvs.getCvsRoot())
-        self.assertNonZeroString('Has Tag',module1.cvs.getTag())
+        self.assertNonZeroString('CVSROOT',module1.getScm().getCvsRoot())
+        self.assertNonZeroString('Has Tag',module1.getScm().getTag())
         self.assertNonZeroString('Has Tag',module2.getTag())
     
     def testSvn(self):
         svnmodule1= self.workspace.getModule('svn_module1')
         
         self.assertTrue('Module has SVN',
-                        module1.getScm().getScmType() == SCM_TYPE_SVN)
-        self.assertNonZeroString('SVN URL',svnmodule1.svn.getRootUrl())
-        self.assertTrue('SVN Dir',svnmodule1.svn.hasDir())
+                        svnmodule1.getScm().getScmType() == SCM_TYPE_SVN)
+        self.assertNonZeroString('SVN URL',svnmodule1.getScm().getRootUrl())
+        self.assertTrue('SVN Dir',svnmodule1.getScm().hasDir())
     
     def testDependencyMapping(self):
         



Mime
View raw message