mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user