diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-07 23:36:58 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-07 23:36:58 -0600 |
commit | f5ea3b1bb9430978cee6799d68f71da79bb4fd3a (patch) | |
tree | 93d88180f918b9fc7283fb9395ec9712492bafe8 /tests/test_ipalib | |
parent | 0d2b5a889237165a9870668d9f97787606524e32 (diff) | |
download | freeipa-f5ea3b1bb9430978cee6799d68f71da79bb4fd3a.tar.gz freeipa-f5ea3b1bb9430978cee6799d68f71da79bb4fd3a.tar.xz freeipa-f5ea3b1bb9430978cee6799d68f71da79bb4fd3a.zip |
Made docstrings in test_crud.py contistent with rest
Diffstat (limited to 'tests/test_ipalib')
-rw-r--r-- | tests/test_ipalib/test_crud.py | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/tests/test_ipalib/test_crud.py b/tests/test_ipalib/test_crud.py index 3113ec69..eb8be643 100644 --- a/tests/test_ipalib/test_crud.py +++ b/tests/test_ipalib/test_crud.py @@ -24,6 +24,7 @@ Test the `ipalib.crud` module. from tests.util import read_only, raises, ClassChecker from ipalib import crud, frontend, plugable, config + def get_api(): api = plugable.API( frontend.Object, @@ -44,17 +45,20 @@ def get_api(): class test_Add(ClassChecker): """ - Test the `crud.Add` class. + Test the `ipalib.crud.Add` class. """ _cls = crud.Add def test_class(self): + """ + Test the `ipalib.crud.Add` class. + """ assert self.cls.__bases__ == (frontend.Method,) def test_options_args(self): """ - Test `crud.Add.get_args` and `crud.Add.get_options` methods. + Test `ipalib.crud.Add.get_args` and `ipalib.crud.Add.get_options` methods. """ api = get_api() class user_add(self.cls): @@ -70,17 +74,20 @@ class test_Add(ClassChecker): class test_Get(ClassChecker): """ - Test the `crud.Get` class. + Test the `ipalib.crud.Get` class. """ _cls = crud.Get def test_class(self): + """ + Test the `ipalib.crud.Get` class. + """ assert self.cls.__bases__ == (frontend.Method,) def test_options_args(self): """ - Test `crud.Get.get_args` and `crud.Get.get_options` methods. + Test `ipalib.crud.Get.get_args` and `ipalib.crud.Get.get_options` methods. """ api = get_api() class user_get(self.cls): @@ -93,17 +100,20 @@ class test_Get(ClassChecker): class test_Del(ClassChecker): """ - Test the `crud.Del` class. + Test the `ipalib.crud.Del` class. """ _cls = crud.Del def test_class(self): + """ + Test the `ipalib.crud.Del` class. + """ assert self.cls.__bases__ == (frontend.Method,) def test_options_args(self): """ - Test `crud.Del.get_args` and `crud.Del.get_options` methods. + Test `ipalib.crud.Del.get_args` and `ipalib.crud.Del.get_options` methods. """ api = get_api() class user_del(self.cls): @@ -116,17 +126,20 @@ class test_Del(ClassChecker): class test_Mod(ClassChecker): """ - Test the `crud.Mod` class. + Test the `ipalib.crud.Mod` class. """ _cls = crud.Mod def test_class(self): + """ + Test the `ipalib.crud.Mod` class. + """ assert self.cls.__bases__ == (frontend.Method,) def test_options_args(self): """ - Test `crud.Mod.get_args` and `crud.Mod.get_options` methods. + Test `ipalib.crud.Mod.get_args` and `ipalib.crud.Mod.get_options` methods. """ api = get_api() class user_mod(self.cls): @@ -143,17 +156,20 @@ class test_Mod(ClassChecker): class test_Find(ClassChecker): """ - Test the `crud.Find` class. + Test the `ipalib.crud.Find` class. """ _cls = crud.Find def test_class(self): + """ + Test the `ipalib.crud.Find` class. + """ assert self.cls.__bases__ == (frontend.Method,) def test_options_args(self): """ - Test `crud.Find.get_args` and `crud.Find.get_options` methods. + Test `ipalib.crud.Find.get_args` and `ipalib.crud.Find.get_options` methods. """ api = get_api() class user_find(self.cls): |