[csw-devel] SF.net SVN: gar:[12209] csw/mgar/gar/v2/lib/python/package_checks_test.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Thu Jan 6 13:03:50 CET 2011
Revision: 12209
http://gar.svn.sourceforge.net/gar/?rev=12209&view=rev
Author: wahwah
Date: 2011-01-06 12:03:50 +0000 (Thu, 06 Jan 2011)
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 2011-01-06 12:01:43 UTC (rev 12208)
+++ csw/mgar/gar/v2/lib/python/package_checks_test.py 2011-01-06 12:03:50 UTC (rev 12209)
@@ -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