summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-08-27 15:55:19 +0200
committerRob Crittenden <rcritten@redhat.com>2009-10-07 10:00:32 -0400
commit5be97212921e2077df22f9b2bb11a9b3781ba771 (patch)
treedc4a24e4bdc4faa393ba9cf81c674f1a32514a28
parentcbbfd16e9f9775ae6579a262df4c771c9d7b3558 (diff)
downloadfreeipa-5be97212921e2077df22f9b2bb11a9b3781ba771.tar.gz
freeipa-5be97212921e2077df22f9b2bb11a9b3781ba771.tar.xz
freeipa-5be97212921e2077df22f9b2bb11a9b3781ba771.zip
Fix unit tests for plugins using baseldap classes.
-rw-r--r--tests/test_xmlrpc/test_hostgroup_plugin.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_xmlrpc/test_hostgroup_plugin.py b/tests/test_xmlrpc/test_hostgroup_plugin.py
index fc12d11c..fdc73baf 100644
--- a/tests/test_xmlrpc/test_hostgroup_plugin.py
+++ b/tests/test_xmlrpc/test_hostgroup_plugin.py
@@ -82,9 +82,7 @@ class test_hostgroup(XMLRPC_test):
Test the `xmlrpc.hostgroup_find` method.
"""
(res, truncated) = api.Command['hostgroup_find'](cn=self.cn, raw=True)
- print res
- print '%r' % res
- assert res, '%r' % res
+ assert res
assert_attr_equal(res[0][1], 'description', self.description)
assert_attr_equal(res[0][1], 'cn', self.cn)