summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/tstutil.py
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2008-10-02 20:24:05 +0200
committerJason Gerard DeRose <jderose@redhat.com>2008-10-02 17:22:41 -0600
commit149429f3057e3ae934e660e3276c9e8d3c935d17 (patch)
tree8110fe604c94f70275991e483889b94b8e226afd /ipalib/tests/tstutil.py
parent6000b6b5c62181d25783b6d45adb2ed6f3928480 (diff)
downloadfreeipa.git-149429f3057e3ae934e660e3276c9e8d3c935d17.tar.gz
freeipa.git-149429f3057e3ae934e660e3276c9e8d3c935d17.tar.xz
freeipa.git-149429f3057e3ae934e660e3276c9e8d3c935d17.zip
Environment is now subclassed from object, rather then dict. Added tests for Environment and config.py
Diffstat (limited to 'ipalib/tests/tstutil.py')
-rw-r--r--ipalib/tests/tstutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/tests/tstutil.py b/ipalib/tests/tstutil.py
index 7586d08c..743716a0 100644
--- a/ipalib/tests/tstutil.py
+++ b/ipalib/tests/tstutil.py
@@ -55,7 +55,7 @@ def raises(exception, callback, *args, **kw):
def getitem(obj, key):
"""
- Works like getattr but for dictionary interface. Uses this in combination
+ Works like getattr but for dictionary interface. Use this in combination
with raises() to test that, for example, KeyError is raised.
"""
return obj[key]
@@ -63,7 +63,7 @@ def getitem(obj, key):
def setitem(obj, key, value):
"""
- Works like setattr but for dictionary interface. Uses this in combination
+ Works like setattr but for dictionary interface. Use this in combination
with raises() to test that, for example, TypeError is raised.
"""
obj[key] = value
@@ -71,7 +71,7 @@ def setitem(obj, key, value):
def delitem(obj, key):
"""
- Works like delattr but for dictionary interface. Uses this in combination
+ Works like delattr but for dictionary interface. Use this in combination
with raises() to test that, for example, TypeError is raised.
"""
del obj[key]