Make an ipa-tests package

Rename the 'tests' directory to 'ipa-tests', and create an ipa-tests RPM
containing the test suite

Part of the work for: https://fedorahosted.org/freeipa/ticket/3654
This commit is contained in:
Petr Viktorin
2013-06-17 19:22:50 +02:00
committed by Martin Kosek
parent 6d66e826c1
commit c60142efda
105 changed files with 237 additions and 93 deletions
+3 -3
View File
@@ -21,7 +21,7 @@
"""
Generate a custom certificate used in the service unit tests. The certificate
will be created in tests/test_xmlrpc/service.crt
will be created in ipatests/test_xmlrpc/service.crt
"""
import sys
import os
@@ -33,7 +33,7 @@ from ipaserver.plugins import rabase
from ipapython import ipautil
from ipapython.dn import DN
CERTPATH = 'tests/test_xmlrpc/service.crt'
CERTPATH = 'ipatests/test_xmlrpc/service.crt'
def run_certutil(reqdir, args, stdin=None):
"""
@@ -86,7 +86,7 @@ def makecert(reqdir):
ra = rabase.rabase()
if not os.path.exists(ra.sec_dir) and api.env.xmlrpc_uri == 'http://localhost:8888/ipa/xml':
sys.exit('The in-tree self-signed CA is not configured, see tests/test_xmlrpc/test_cert.py')
sys.exit('The in-tree self-signed CA is not configured, see ipatests/test_xmlrpc/test_cert.py')
pwname = reqdir + "/pwd"