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.
This commit is contained in:
Rob Crittenden
2009-02-03 15:03:17 -05:00
parent 2d7e0de5ea
commit 98d4644bff
8 changed files with 37 additions and 26 deletions

View File

@@ -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}