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_host_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_host_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_host_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_host_plugin.py b/tests/test_xmlrpc/test_host_plugin.py index 35fbc4d4d..2529868c5 100644 --- a/tests/test_xmlrpc/test_host_plugin.py +++ b/tests/test_xmlrpc/test_host_plugin.py @@ -24,14 +24,14 @@ Test the `ipalib/plugins/f_host` module. import sys from xmlrpc_test import XMLRPC_test from ipalib import api -from ipalib import errors +from ipalib import errors2 class test_Host(XMLRPC_test): """ Test the `f_host` plugin. """ - cn = api.env.host.decode('UTF-8') + cn = u'ipatesthost.%s' % api.env.domain description = u'Test host' localityname = u'Undisclosed location' kw={'cn': cn, 'description': description, 'localityname': localityname} |