summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_plugable.py
diff options
context:
space:
mode:
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 1fa34bd56..a9a6492d1 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)