diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-10 15:31:34 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-10 15:31:34 +0000 |
commit | 687f60356203a33b7af24842f24570a12d9b2039 (patch) | |
tree | b95efea6d2ce1d512eb0fe30c567ec866606a779 /ipalib/tests/test_public.py | |
parent | bde377a2da7bb264ee3188a5696bb389af51321d (diff) | |
download | freeipa.git-687f60356203a33b7af24842f24570a12d9b2039.tar.gz freeipa.git-687f60356203a33b7af24842f24570a12d9b2039.tar.xz freeipa.git-687f60356203a33b7af24842f24570a12d9b2039.zip |
284: Removed depreciated Command.Option property; removed corresponding unit tests; updated affected code
Diffstat (limited to 'ipalib/tests/test_public.py')
-rw-r--r-- | ipalib/tests/test_public.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py index f805a7a9..5dcbd84c 100644 --- a/ipalib/tests/test_public.py +++ b/ipalib/tests/test_public.py @@ -456,22 +456,6 @@ class test_Command(ClassChecker): assert ns.files.required is False assert ns.files.multivalue is True - def test_Option(self): - """ - Tests the `public.Command.Option` property. - """ - assert 'Option' in self.cls.__public__ # Public - sub = self.subcls() - O = sub.Option - assert type(O) is plugable.NameSpace - assert len(O) == 2 - for name in ('option0', 'option1'): - assert name in O - option = O[name] - assert getattr(O, name) is option - assert isinstance(option, public.Option) - assert option.name == name - def test_convert(self): """ Tests the `public.Command.convert` method. |