diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-15 01:46:11 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-15 01:46:11 +0000 |
commit | 3e3b596f68957f46efa5af4b957c8add50fca8b6 (patch) | |
tree | c7dabe68c259f0f601fb38c3e24ca778bbb65353 /ipalib/tests | |
parent | 1a92bdf29b3c65d7b9bd1c61d9eda0f98a70ecfa (diff) | |
download | freeipa-3e3b596f68957f46efa5af4b957c8add50fca8b6.tar.gz freeipa-3e3b596f68957f46efa5af4b957c8add50fca8b6.tar.xz freeipa-3e3b596f68957f46efa5af4b957c8add50fca8b6.zip |
173: NameSpace now subclasses from DictProxy
Diffstat (limited to 'ipalib/tests')
-rw-r--r-- | ipalib/tests/test_plugable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/tests/test_plugable.py b/ipalib/tests/test_plugable.py index 6f2385c92..00d20cc90 100644 --- a/ipalib/tests/test_plugable.py +++ b/ipalib/tests/test_plugable.py @@ -560,7 +560,7 @@ class test_NameSpace(ClassChecker): _cls = plugable.NameSpace def test_class(self): - assert self.cls.__bases__ == (plugable.ReadOnly,) + assert self.cls.__bases__ == (plugable.DictProxy,) def test_namespace(self): class base(object): @@ -583,7 +583,7 @@ class test_NameSpace(ClassChecker): for i in xrange(n): yield plugable.Proxy(base, plugin(get_name(i))) - cnt = 20 + cnt = 10 ns = self.cls(get_proxies(cnt)) assert ns.__islocked__() is True |