From f18c84444d4ed87d79f3cb41156c6b66f49ccac3 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 31 Oct 2008 17:02:51 -0400 Subject: Partially revert back change. Del shouldn't provide default options. It can provide custom ones though, if defined with takes_params() in the class. --- tests/test_ipalib/test_crud.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/test_ipalib/test_crud.py') diff --git a/tests/test_ipalib/test_crud.py b/tests/test_ipalib/test_crud.py index 259bc60d..ad391e2e 100644 --- a/tests/test_ipalib/test_crud.py +++ b/tests/test_ipalib/test_crud.py @@ -130,9 +130,8 @@ class test_Del(CrudChecker): Test the `ipalib.crud.Del.get_options` method. """ api = self.get_api() - assert list(api.Method.user_verb.options) == \ - ['givenname', 'sn', 'initials'] - assert len(api.Method.user_verb.options) == 3 + assert list(api.Method.user_verb.options) == [] + assert len(api.Method.user_verb.options) == 0 class test_Mod(CrudChecker): -- cgit