summaryrefslogtreecommitdiffstats
path: root/tests/util.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-23 15:49:16 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-03 15:29:03 -0500
commitf7375bb6090f32c3feb3d71e196ed01ee19fecc8 (patch)
treef80054b751d6bcace55e90f60a8ffb72c6afc6fe /tests/util.py
parente0b00d598147f294c88b3cfb1b2218fe4381792a (diff)
downloadfreeipa-f7375bb6090f32c3feb3d71e196ed01ee19fecc8.tar.gz
freeipa-f7375bb6090f32c3feb3d71e196ed01ee19fecc8.tar.xz
freeipa-f7375bb6090f32c3feb3d71e196ed01ee19fecc8.zip
Added stuff for managing connections and new Executioner backend base class
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/util.py b/tests/util.py
index 631d4a05c..cd7400ba1 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -207,9 +207,9 @@ class ClassChecker(object):
"""
nose tear-down fixture.
"""
- for name in ('ugettext', 'ungettext'):
- if hasattr(context, name):
- delattr(context, name)
+ for name in context.__dict__.keys():
+ delattr(context, name)
+