Created
January 24, 2010 23:02
-
-
Save andreyvit/285499 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 3d6ddf4fd6b0 fixture/util.py | |
--- a/fixture/util.py Fri Oct 02 10:20:09 2009 -0500 | |
+++ b/fixture/util.py Mon Jan 25 05:01:47 2010 +0600 | |
@@ -33,6 +33,7 @@ | |
data = None | |
datasets = [] | |
def setUp(self): | |
+ super(DataTestCase, self).setUp() | |
if self.fixture is None: | |
raise NotImplementedError("no concrete fixture to load data with") | |
if not self.datasets: | |
@@ -42,6 +43,7 @@ | |
def tearDown(self): | |
self.data.teardown() | |
+ super(DataTestCase, self).tearDown() | |
class ObjRegistry: | |
"""registers objects by class. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment