summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_public.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-22 20:23:19 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-22 20:23:19 +0000
commita1b5d928fbf989a45c0fabb599d25e80964aacee (patch)
tree5ed555d9e4ce0db82e527cbc5f89836359e30930 /ipalib/tests/test_public.py
parentcad924168eebbb3618205651f8c7a30bf00fe47d (diff)
downloadfreeipa.git-a1b5d928fbf989a45c0fabb599d25e80964aacee.tar.gz
freeipa.git-a1b5d928fbf989a45c0fabb599d25e80964aacee.tar.xz
freeipa.git-a1b5d928fbf989a45c0fabb599d25e80964aacee.zip
184: Renamed public.mthd class to Method
Diffstat (limited to 'ipalib/tests/test_public.py')
-rw-r--r--ipalib/tests/test_public.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py
index 1a496a16..089fcfe9 100644
--- a/ipalib/tests/test_public.py
+++ b/ipalib/tests/test_public.py
@@ -350,11 +350,11 @@ def test_attr():
o = example_prop0()
-class test_mthd(ClassChecker):
+class test_Method(ClassChecker):
"""
- Tests the `public.mthd` class.
+ Tests the `public.Method` class.
"""
- _cls = public.mthd
+ _cls = public.Method
def test_class(self):
assert self.cls.__bases__ == (public.attr, public.Command)
@@ -390,7 +390,7 @@ class test_mthd(ClassChecker):
def test_get_options(self):
"""
- Tests the `public.mthd.get_options` method.
+ Tests the `public.Method.get_options` method.
"""
sub = self.subcls()
names = ('option0', 'option1', 'prop0', 'prop1')