[csw-devel] SF.net SVN: gar:[12107] csw/mgar/gar/v2/lib/python/package_checks_test.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Dec 29 01:07:38 CET 2010


Revision: 12107
          http://gar.svn.sourceforge.net/gar/?rev=12107&view=rev
Author:   wahwah
Date:     2010-12-29 00:07:37 +0000 (Wed, 29 Dec 2010)

Log Message:
-----------
checkpkg: Removing the MoxMetaTestBase magic

And using a more effective way to disable a package.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/package_checks_test.py

Modified: csw/mgar/gar/v2/lib/python/package_checks_test.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks_test.py	2010-12-28 23:41:46 UTC (rev 12106)
+++ csw/mgar/gar/v2/lib/python/package_checks_test.py	2010-12-29 00:07:37 UTC (rev 12107)
@@ -33,8 +33,6 @@
 class CheckpkgUnitTestHelper(object):
   """Wraps common components of checkpkg tests."""
 
-  __metaclass__ = mox.MoxMetaTestBase
-
   def setUp(self):
     super(CheckpkgUnitTestHelper, self).setUp()
     self.mox = mox.Mox()
@@ -62,6 +60,7 @@
                                     self.error_mgr_mock,
                                     self.logger_mock,
                                     self.messenger)
+    self.mox.VerifyAll()
 
 
 class TestMultipleDepends(CheckpkgUnitTestHelper, unittest.TestCase):


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list