-
Type:
Task
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
PyOpenSSL/OCSP modules represent ~0.8% of the total codebase (262 / 32,085 statements) and are sitting at only ~21% coverage — well below the project
average of 44%. However, the picture is skewed: ocsp_cache.py is actually well-covered at 86%, while pyopenssl_context.py is essentially untested at
just 3%.
PyOpenSSL Context & OCSP module coverage can be improved by targeting critical code paths:
- pyopenssl_context.py — ~96% uncovered
- SSL/TLS handshake, OCSP stapling; niche but essentially untested
Definition of done
Improve PyOpenSSL coverage to 80% which should increase total coverage by up to 0.5%.
Pitfalls
The overall impact of bringing this to 100% would be less than +1 percentage point — much smaller than PYTHON-5760 or PYTHON-5761 due to the smaller module size.
- duplicates
-
PYTHON-5780 Increase code coverage for pyopenssl_context.py from 74.51% to >=80%
-
- Closed
-