From b54cdab33d14d5eb47af7da2bdb84ade6a06abba Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 8 Oct 2013 16:40:25 +0200 Subject: test_ipalib.test_crud: Don't use a string in takes_options Options should be Param subclasses. --- ipatests/test_ipalib/test_crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipatests/test_ipalib') diff --git a/ipatests/test_ipalib/test_crud.py b/ipatests/test_ipalib/test_crud.py index 602f99f24..6d29ab97a 100644 --- a/ipatests/test_ipalib/test_crud.py +++ b/ipatests/test_ipalib/test_crud.py @@ -78,7 +78,7 @@ class test_Create(CrudChecker): for param in api.Method.user_verb.options(): if param.name != 'version': assert param.required is True - api = self.get_api(options=('extra?',)) + api = self.get_api(options=(Str('extra?'),)) assert list(api.Method.user_verb.options) == \ ['givenname', 'sn', 'initials', 'extra', 'all', 'raw', 'version'] assert api.Method.user_verb.options.extra.required is False -- cgit