From 5be97212921e2077df22f9b2bb11a9b3781ba771 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Thu, 27 Aug 2009 15:55:19 +0200 Subject: Fix unit tests for plugins using baseldap classes. --- tests/test_xmlrpc/test_hostgroup_plugin.py | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit