summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Make PKIInstance and PKISubsystem hashableChristian Heimes2016-03-041-4/+11
| | | | The upgrade uses instance and subsystem as keys for dicts.
* Fedora 24 fixes for Python 3.5 and pylint 1.5Christian Heimes2016-02-291-1/+4
| | | | | | | | | | | Fedora 24 has Python 3.5 instead of Python 3.4. tox.ini now uses python3 to use any Python 3 interpreter. Python 3.5 has unittest.mock in the stdlib. Tests must attempt to import mock from unittest first. Pylint 1.5 has deprecated a couple of old options. Dogtag doesn't use the options anyway. I just removed them from dogtag.pylintrc.
* Implement total ordering for PKISubsystem and PKIInstanceChristian Heimes2016-02-261-0/+61
| | | | | | | | In Python 3 subclasses no longer implement automatic ordering. To provide ordering for sort() and custom comparison, __eq__ and __lt__ are required. https://fedorahosted.org/pki/ticket/2216
* Python 3 fix for Tomcat.get_major_version()Christian Heimes2016-02-231-0/+35
| | | | | I forgot to decode the output of subprocess.check_call(). All other places decode bytes to text properly.
* Fix flake8 / PEP 8 violationsChristian Heimes2016-01-252-5/+2
| | | | https://fedorahosted.org/pki/ticket/1738
* Add delete_ca functionality to the Python APIAde Lee2015-10-061-1/+1
|
* Add common profilesNiranjan Mallapadi2015-10-051-0/+115
| | | | Signed-off-by: Niranjan Mallapadi <mrniranjan@redhat.com>
* shared functions/classes created to setup DSNiranjan Mallapadi2015-10-0129-0/+1828
| | | | | | | | | created a library called pkilib containing functions to setup directory services. python/docs contain the pkilib api documentation Signed-off-by: Niranjan Mallapadi <mrniranjan@redhat.com>
* Add pytest tests and documentation.Niranjan Mallapadi2015-10-0116-0/+2048
| | | | | | | | | | | Currently only installation tests have been written. pytest/docs contain the documentation of how to use multihost plugin and documentation of shared functions used Signed-off-by: Niranjan Mallapadi <mrniranjan@redhat.com>
* Python client for subcasAde Lee2015-09-271-0/+131
| | | | | | Includes python code (and unit tests!) to list, get and create subCAs. Also fixed a couple of PEP 8 violations that crept in.
* Fix encoding issue. On Python 3 requests requires bytes for json body.Christian Heimes2015-08-171-2/+24
|
* Handle JSON decode error in handle_exceptions()Christian Heimes2015-07-151-0/+65
| | | | | | | | | | | | | pki.handle_exceptions() raises a JSON decode exception when the body of the HTTPException is not a valid JSON string. The JSON exception hides the true error message. The patch also fixes a bug in PKIException.from_json(). The code and ClassName attribute are now correctly set. Finally we have our first unit test. https://fedorahosted.org/pki/ticket/1488 https://fedorahosted.org/freeipa/ticket/5129
* Added subsystem installation status check toAsha Akkiangady2015-06-2536-410/+606
| | | | pki ca-user and kra-user tests.
* Added pki kra-user files location to Makefile.Asha Akkiangady2015-06-221-25/+25
|
* Created tests for pki kra-user, ocsp-user,Asha Akkiangady2015-06-2259-34/+45119
| | | | | tks-user and tps-user. Fixed pki user tests syntax errors.
* Added pki user KRA, OCSP, TKS and TPS tests.Asha Akkiangady2015-06-1565-2936/+46162
| | | | Modified user CA test scripts to check for subsystem installed status.
* Changes to directory hierarchy of CA and KRA group testsRoshni Pattath2015-06-1118-0/+0
|
* OCSP, TKS and TPS group testsRoshni Pattath2015-06-1160-254/+39496
|
* pki ca,kra,ocsp,tks,tps selftest cli automationNiranjan Mallapadi2015-05-2124-0/+6371
|
* Added script to keep subsystem installed statusAsha Akkiangady2015-04-2728-179/+390
| | | | | written to env.sh and CA pki user clis check for CA install status before execution.
* TPS Legacy testsRoshni Pattath2015-04-2015-516/+7864
| | | | TPS Leagcy tests, TPS install tests, MS CA external CA test and other changes to install tests
* Removed a duplicate rlPhaseStart line in the test.Asha Akkiangady2015-03-311-4/+0
|
* Created new scep tests for CA and SUBCA.Asha Akkiangady2015-03-313-36/+179
|
* Update pki-qe-tools.jar fileNiranjan Mallapadi2015-03-123-0/+192
| | | | Add generateDualCRMFRequest.java and Certificate_Record.java
* Port legacy clone drm tests to beakerNiranjan Mallapadi2015-03-123-0/+336
|
* Adding legacy ipa-tests and ca-clone testsNiranjan Mallapadi2015-03-094-0/+3663
|
* CA and SUBCA scep tests using sscep.Asha Akkiangady2015-02-245-17/+447
|
* Port TKS legacy tests to beakerNiranjan Mallapadi2015-02-246-2/+1222
|
* Update rhcs-shared.sh with more shared functionsNiranjan Mallapadi2015-02-231-0/+128
| | | | | Add functions related to creating directory user and functions related tps
* CA renewal manual, directory authenticated andAsha Akkiangady2015-02-168-25/+8973
| | | | | | sslclient self renewal tests. Subca usergroup tests and new tests added to ca's usergroup.
* Port OCSP legacy tests beaker framewokrNiranjan Mallapadi2015-02-169-59/+1653
| | | | Some minor fixes to CA EE tests
* Updated Resteasy and Jackson dependenciesEndi S. Dewata2015-02-031-6/+0
| | | | | | | | | | In Fedora 22 the Resteasy package has been split into several subpackages. The pki-core.spec has been modified to depend on more specific Resteasy packages which depend only on Jackson 1.x. The classpaths and various scripts have been modified to remove unused references to Jackson 2.x. https://fedorahosted.org/pki/ticket/1254
* Add Legacy drm-logs and some subca testsNiranjan Mallapadi2015-02-0310-0/+10480
| | | | | | | Sub CA cert-enrollment, profiles and logs are added DRM logs are added Signed-off-by: Niranjan Mallapadi <mrniranjan@redhat.com>
* Modified test-idsRoshni Pattath2015-02-025-69/+69
|
* Subca legacy testsRoshni Pattath2015-02-0211-122/+2616
| | | | Related changes to Makefile, runtest, rhcs-shared and create role users
* Add legacy drm testsNiranjan Mallapadi2015-01-296-0/+1364
|
* Add legacy CA logs testsNiranjan Mallapadi2015-01-293-0/+207
|
* Add legacy cert-enrollment testsNiranjan Mallapadi2015-01-296-1/+8021
|
* Add CA Profiles legacy testsNiranjan Mallapadi2015-01-294-9/+2366
|
* CA EE OCSP and related java filesRoshni Pattath2015-01-2210-3/+1540
|
* crlissuingpoint dir was spelled wrong in Makefile and runtest.shRoshni Pattath2015-01-212-2/+2
|
* Fixed some typos in Makefile and runtest.shRoshni Pattath2015-01-212-6/+6
|
* CA Admin Porting testsRoshni Pattath2015-01-208-0/+2431
| | | | Internaldb, authplugin, acl, crlissuing point, agent-crl, publishing
* Installer tests for CA, KRA, OCSP and TKS.Asha Akkiangady2015-01-066-1/+823
|
* Minor changes relating to CI modificationsRoshni Pattath2015-01-0517-79/+59
|
* comment lines which add cer to TEMP NSS DBNiranjan Mallapadi2014-12-081-21/+21
| | | | | | Modify generate_new_cert function to comment out the lines which add the CA signing cert and user/server cert to Temp NSS DB
* Add CA Legacy profile testsNiranjan Mallapadi2014-12-083-0/+1825
|
* CLI user-add and ca-user-add tests modifiedAsha Akkiangady2014-12-0615-71/+700
| | | | | to have random strings generated with openssl rand and $RANDOM.
* Some updates to the script for certutilRoshni Pattath2014-12-051-4/+530
|
* Changed the CA Host parameterRoshni Pattath2014-12-0521-574/+28
|