diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2017-02-21 20:23:34 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2017-03-02 12:13:47 -0500 |
commit | 293f18593307f5a90890848d77c439b3d3f1dd0d (patch) | |
tree | 013cc0534f852eb587387734745a97023d7dfb52 /roles/openshift_cli/library | |
parent | 5a91f31b65a4bb0ec524aee9ba1c6d4e4030d8d2 (diff) | |
download | openshift-293f18593307f5a90890848d77c439b3d3f1dd0d.tar.gz openshift-293f18593307f5a90890848d77c439b3d3f1dd0d.tar.bz2 openshift-293f18593307f5a90890848d77c439b3d3f1dd0d.tar.xz openshift-293f18593307f5a90890848d77c439b3d3f1dd0d.zip |
test fixes for openshift_certificates_expiry
- 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
Diffstat (limited to 'roles/openshift_cli/library')
0 files changed, 0 insertions, 0 deletions