Skip to content

Instantly share code, notes, and snippets.

@andreyvit
Created January 24, 2010 23:02
Show Gist options
  • Save andreyvit/285499 to your computer and use it in GitHub Desktop.
Save andreyvit/285499 to your computer and use it in GitHub Desktop.
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