diff options
Diffstat (limited to 'ipalib/tests/test_public.py')
-rw-r--r-- | ipalib/tests/test_public.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py index 01eadabd..e97bfbc1 100644 --- a/ipalib/tests/test_public.py +++ b/ipalib/tests/test_public.py @@ -431,7 +431,7 @@ class test_Command(ClassChecker): # Test TypeError: e = raises(TypeError, self.get_instance, args=(u'whatever',)) assert str(e) == \ - 'arg: need %r or %r; got %r' % (str, public.Param, u'whatever') + 'create_param() takes %r or %r; got %r' % (str, public.Param, u'whatever') # Test ValueError, required after optional: e = raises(ValueError, self.get_instance, args=('arg1?', 'arg2')) |