From 687f60356203a33b7af24842f24570a12d9b2039 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 10 Sep 2008 15:31:34 +0000 Subject: 284: Removed depreciated Command.Option property; removed corresponding unit tests; updated affected code --- ipalib/tests/test_public.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'ipalib/tests/test_public.py') 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. -- cgit