summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_plugable.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-05 22:21:57 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-05 22:21:57 +0000
commit159207514fadfacb6e1df9713abd2c61c24d7b77 (patch)
treed49c3f592c50c2564defd48ea2e086bd1809d88d /ipalib/tests/test_plugable.py
parent1fce1487f9ba85aeee36178c4efadbc983b612cc (diff)
downloadfreeipa.git-159207514fadfacb6e1df9713abd2c61c24d7b77.tar.gz
freeipa.git-159207514fadfacb6e1df9713abd2c61c24d7b77.tar.xz
freeipa.git-159207514fadfacb6e1df9713abd2c61c24d7b77.zip
52: Got cli working against new framework
Diffstat (limited to 'ipalib/tests/test_plugable.py')
-rw-r--r--ipalib/tests/test_plugable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/tests/test_plugable.py b/ipalib/tests/test_plugable.py
index 1fa34bd5..a9a6492d 100644
--- a/ipalib/tests/test_plugable.py
+++ b/ipalib/tests/test_plugable.py
@@ -69,7 +69,7 @@ def test_Plugin():
api = 'the api instance'
p = plugable.Plugin()
assert read_only(p, 'name') == 'Plugin'
- assert repr(p) == '%s.Plugin()' % plugable.__name__
+ assert repr(p) == '%s.Plugin' % plugable.__name__
assert read_only(p, 'api') is None
raises(AssertionError, p.finalize, None)
p.finalize(api)
@@ -80,7 +80,7 @@ def test_Plugin():
pass
p = some_plugin()
assert read_only(p, 'name') == 'some_plugin'
- assert repr(p) == '%s.some_plugin()' % __name__
+ assert repr(p) == '%s.some_plugin' % __name__
assert read_only(p, 'api') is None
raises(AssertionError, p.finalize, None)
p.finalize(api)