summaryrefslogtreecommitdiffstats
path: root/tests/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/util.py b/tests/util.py
index f5899dfab..631d4a05c 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -295,6 +295,13 @@ class PluginTester(object):
o = api[namespace][self.plugin.__name__]
return (o, api, home)
+ def tearDown(self):
+ """
+ nose tear-down fixture.
+ """
+ for name in context.__dict__.keys():
+ delattr(context, name)
+
class dummy_ugettext(object):
__called = False