From 45a6ee50b10c5800cc9a8fd95bf55d9a734b0fe9 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 26 Aug 2008 00:06:00 +0000 Subject: 193: Removed depreciated public.PublicAPI class; removed corresponding unit tests --- ipalib/tests/test_public.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'ipalib/tests') diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py index ea054255..37a92cbe 100644 --- a/ipalib/tests/test_public.py +++ b/ipalib/tests/test_public.py @@ -495,20 +495,3 @@ class test_prop(ClassChecker): def test_class(self): assert self.cls.__bases__ == (public.Attribute, public.Option) assert self.cls.implements(public.Option) - - -def test_PublicAPI(): - cls = public.PublicAPI - assert issubclass(cls, plugable.API) - - api = cls() - - class cmd1(public.Command): - pass - api.register(cmd1) - - class cmd2(public.Command): - pass - api.register(cmd2) - - api.finalize() -- cgit