diff options
| author | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-06 14:59:54 +0000 |
|---|---|---|
| committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-06 14:59:54 +0000 |
| commit | 4e825ba2d9d292af17acdecb2e7f739c3355a464 (patch) | |
| tree | eae533132aa053cb686749bfa6146120b01e3925 /ipalib/tests/test_plugable.py | |
| parent | 293b31ac75cd4f72c5d4a62ffc82df83c70f564f (diff) | |
61: Proxy now does a setattr for all callable attributes in __slots__ (and uses __getattr__ for rest
Diffstat (limited to 'ipalib/tests/test_plugable.py')
| -rw-r--r-- | ipalib/tests/test_plugable.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/tests/test_plugable.py b/ipalib/tests/test_plugable.py index 6ca4050ba..ab9a86659 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' |
