diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-02-03 15:03:17 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-04 09:03:40 -0500 |
commit | 98d4644bff67a6545cada8364c84b43e2a99fe62 (patch) | |
tree | 46ab8a3f30bd11b7ca1a8780c0c57da75330f437 /tests/test_xmlrpc/test_user_plugin.py | |
parent | 2d7e0de5ea7a2923708006bc58dae4b35b65fe63 (diff) | |
download | freeipa-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_user_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_user_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_user_plugin.py b/tests/test_xmlrpc/test_user_plugin.py index da2df4bc8..200511401 100644 --- a/tests/test_xmlrpc/test_user_plugin.py +++ b/tests/test_xmlrpc/test_user_plugin.py @@ -75,8 +75,8 @@ class test_User(XMLRPC_test): """ Test the `xmlrpc.user_find` method with all attributes. """ - kw={'uid':self.uid, 'all': True} - res = api.Command['user_find'](**kw) + kw={'all': True} + res = api.Command['user_find'](self.uid, **kw) assert res assert len(res) == 2 assert res[1].get('givenname','') == self.givenname |