From 4e825ba2d9d292af17acdecb2e7f739c3355a464 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 6 Aug 2008 14:59:54 +0000 Subject: 61: Proxy now does a setattr for all callable attributes in __slots__ (and uses __getattr__ for rest --- ipalib/tests/test_plugable.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/tests/test_plugable.py') diff --git a/ipalib/tests/test_plugable.py b/ipalib/tests/test_plugable.py index 6ca4050b..ab9a8665 100644 --- a/ipalib/tests/test_plugable.py +++ b/ipalib/tests/test_plugable.py @@ -62,6 +62,9 @@ def test_valid_identifier(): def test_Plugin(): + cls = plugable.Plugin + assert type(cls.name) is property + api = 'the api instance' p = plugable.Plugin() assert read_only(p, 'name') == 'Plugin' -- cgit