diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2010-03-08 20:42:26 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2010-03-16 11:41:22 -0600 |
commit | c350f841342675440837740f9df1c582e499da25 (patch) | |
tree | e614cbb9ce6d59d00b618ae3b01211458451bdf0 /tests/util.py | |
parent | a0a94a9a04d87133e57ce958f720131230746ec9 (diff) | |
download | freeipa-c350f841342675440837740f9df1c582e499da25.tar.gz freeipa-c350f841342675440837740f9df1c582e499da25.tar.xz freeipa-c350f841342675440837740f9df1c582e499da25.zip |
Finish deferred translation mechanism
Diffstat (limited to 'tests/util.py')
-rw-r--r-- | tests/util.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/util.py b/tests/util.py index f3215e7d7..c22167a30 100644 --- a/tests/util.py +++ b/tests/util.py @@ -417,8 +417,7 @@ class ClassChecker(object): """ nose tear-down fixture. """ - for name in context.__dict__.keys(): - delattr(context, name) + context.__dict__.clear() @@ -509,8 +508,7 @@ class PluginTester(object): """ nose tear-down fixture. """ - for name in context.__dict__.keys(): - delattr(context, name) + context.__dict__.clear() class dummy_ugettext(object): |