summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/tests/test_frontend.py')
-rw-r--r--ipalib/tests/test_frontend.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipalib/tests/test_frontend.py b/ipalib/tests/test_frontend.py
index 8b4df3bb..43c1abf2 100644
--- a/ipalib/tests/test_frontend.py
+++ b/ipalib/tests/test_frontend.py
@@ -169,6 +169,10 @@ class test_Param(ClassChecker):
assert o.required is True
assert o.multivalue is True
+ e = raises(TypeError, self.cls, name, whatever=True, another=False)
+ assert str(e) == \
+ 'Param.__init__() takes no such kwargs: another, whatever'
+
def test_convert(self):
"""
Test the `frontend.Param.convert` method.