summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_group_plugin.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-02-03 15:03:17 -0500
committerRob Crittenden <rcritten@redhat.com>2009-02-04 09:03:40 -0500
commit98d4644bff67a6545cada8364c84b43e2a99fe62 (patch)
tree46ab8a3f30bd11b7ca1a8780c0c57da75330f437 /tests/test_xmlrpc/test_group_plugin.py
parent2d7e0de5ea7a2923708006bc58dae4b35b65fe63 (diff)
downloadfreeipa-98d4644bff67a6545cada8364c84b43e2a99fe62.tar.gz
freeipa-98d4644bff67a6545cada8364c84b43e2a99fe62.tar.xz
freeipa-98d4644bff67a6545cada8364c84b43e2a99fe62.zip
Fix remaining issues with XML-RPC test cases
Tied the make-test script into the test target of the top-level Makefile Added code to xmlrpc_test.py so that it configures the API if it isn't already done which enables individual tests to be executed.
Diffstat (limited to 'tests/test_xmlrpc/test_group_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_group_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_group_plugin.py b/tests/test_xmlrpc/test_group_plugin.py
index 2cd6bdf13..23c9b0504 100644
--- a/tests/test_xmlrpc/test_group_plugin.py
+++ b/tests/test_xmlrpc/test_group_plugin.py
@@ -78,7 +78,7 @@ class test_Group(XMLRPC_test):
Test the `xmlrpc.group_add_member` with a non-existent member
"""
kw={}
- kw['groups'] = "notfound"
+ kw['groups'] = u"notfound"
res = api.Command['group_add_member'](self.cn, **kw)
# an error isn't thrown, the list of failed members is returned
assert res != []
@@ -137,7 +137,7 @@ class test_Group(XMLRPC_test):
Test the `xmlrpc.group_remove_member` method with non-member
"""
kw={}
- kw['groups'] = "notfound"
+ kw['groups'] = u"notfound"
# an error isn't thrown, the list of failed members is returned
res = api.Command['group_remove_member'](self.cn, **kw)
assert res != []