summaryrefslogtreecommitdiffstats
path: root/roles/openshift_certificate_expiry/test/test_fakeopensslclasses.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix test compatibility with OpenSSL 1.1.0Pierre-Louis Bonicoli2017-04-281-1/+2
| | | | | | Since OpenSSL 1.1.0, default name options ('oneline') for 'x509' command include 'space_eq'. Explicitly enable 'oneline' in order to have one behaviour with all versions.
* test fixes for openshift_certificates_expiryJason DeTiberus2017-03-021-57/+64
| | | | | | | | | | | | | | - create pytest fixtures for building certs at runtime - update tests to use the fixtures - add tests for load_and_handle_cert - fix py2/py3 encode/decode issues raised by tests - add get_extension_count method to fakeOpenSSLCertificate - avoid using a temp file for passing ssl certificate to openssl subprocess - other test tweaks: - exclude conftest.py and tests from coverage report - reduce the fail_under to 26%, since the tests being included were inflating our coverage
* Address cert expiry parsing review commentsTim Bielawa2017-02-211-5/+1
|
* Implement fake openssl cert classesTim Bielawa2017-02-211-0/+86