summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_session.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-11-08Tests: 8XXX used as default port range.Andrei Zeliankou1-3/+3
After the launch of the project, the testing infrastructure was shared with nginx project in some cases. To avoid port overlap, a decision was made to shift the port range for Unit tests. This problem was resolved a long time ago and is no longer relevant, so it is now safe to use port 8XXX range as the default, as it is more appropriate for testing purposes.
2023-07-10Tests: check TLS methods availability more carefully.Andrei Zeliankou1-0/+8
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-79/+85
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable.
2023-06-12Tests: prerequisites checking reworked.Andrei Zeliankou1-2/+2
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
2023-05-25Tests: removed unused variables.Andrei Zeliankou1-9/+9
2021-11-15Tests: fixed session reuse tests.Andrei Zeliankou1-17/+13
Since SSL_CTX_sess_set_cache_size() can't guarantee the size of the cache there is no need to test edge "cache_size" values.
2021-11-02Tests: added pyOpenSSL module check were necessary.Andrei Zeliankou1-0/+2
2021-11-02Tests: removed unused imports.Andrei Zeliankou1-1/+0
2021-10-28Tests: added tests for TLS sessions.Andrei Zeliankou1-0/+129