diff options
author | Pavel Zuna <pzuna@redhat.com> | 2009-08-27 15:55:19 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-10-07 10:00:32 -0400 |
commit | 5be97212921e2077df22f9b2bb11a9b3781ba771 (patch) | |
tree | dc4a24e4bdc4faa393ba9cf81c674f1a32514a28 /tests | |
parent | cbbfd16e9f9775ae6579a262df4c771c9d7b3558 (diff) | |
download | freeipa-5be97212921e2077df22f9b2bb11a9b3781ba771.tar.gz freeipa-5be97212921e2077df22f9b2bb11a9b3781ba771.tar.xz freeipa-5be97212921e2077df22f9b2bb11a9b3781ba771.zip |
Fix unit tests for plugins using baseldap classes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_xmlrpc/test_hostgroup_plugin.py | 4 |
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 fc12d11cd..fdc73baf6 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) |