summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_plugable.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-09-08 21:40:46 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-09-08 21:40:46 +0000
commit7d3d607b557c45c230c1b246386d65e4d07e6493 (patch)
tree9b02a9363d0f993654c0d1e69c1673f1307c3cac /ipalib/tests/test_plugable.py
parente74713a076a72e75d6ca44d12df8500fb5cad8d2 (diff)
downloadfreeipa-7d3d607b557c45c230c1b246386d65e4d07e6493.tar.gz
freeipa-7d3d607b557c45c230c1b246386d65e4d07e6493.tar.xz
freeipa-7d3d607b557c45c230c1b246386d65e4d07e6493.zip
268: Fixed broken unit test for Plugin.__repr__()
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 ec33989d6..a7c4d61b2 100644
--- a/ipalib/tests/test_plugable.py
+++ b/ipalib/tests/test_plugable.py
@@ -393,7 +393,7 @@ class test_Plugin(ClassChecker):
api = 'the api instance'
o = self.cls()
assert read_only(o, 'name') == 'Plugin'
- assert repr(o) == '%s.Plugin()' % plugable.__name__
+ assert repr(o) == '%s.Plugin' % plugable.__name__
assert read_only(o, 'api') is None
raises(AssertionError, o.finalize, None)
o.finalize(api)
@@ -404,7 +404,7 @@ class test_Plugin(ClassChecker):
pass
sub = some_plugin()
assert read_only(sub, 'name') == 'some_plugin'
- assert repr(sub) == '%s.some_plugin()' % __name__
+ assert repr(sub) == '%s.some_plugin' % __name__
assert read_only(sub, 'api') is None
raises(AssertionError, sub.finalize, None)
sub.finalize(api)