summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_public.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/tests/test_public.py')
-rw-r--r--ipalib/tests/test_public.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py
index 37a92cbe..d809b074 100644
--- a/ipalib/tests/test_public.py
+++ b/ipalib/tests/test_public.py
@@ -73,6 +73,9 @@ class test_DefaltFrom(ClassChecker):
assert self.cls.__bases__ == (plugable.ReadOnly,)
def test_init(self):
+ """
+ Tests the `public.DefaultFrom.__init__` method.
+ """
def callback(*args):
return args
keys = ('givenname', 'sn')
@@ -81,6 +84,9 @@ class test_DefaltFrom(ClassChecker):
assert read_only(o, 'keys') == keys
def test_call(self):
+ """
+ Tests the `public.DefaultFrom.__call__` method.
+ """
def callback(givenname, sn):
return givenname[0] + sn[0]
keys = ('givenname', 'sn')