summaryrefslogtreecommitdiffstats
path: root/tests/python
Commit message (Collapse)AuthorAgeFilesLines
* Add delete_ca functionality to the Python APIAde Lee2015-10-061-1/+1
|
* 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