summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_sni.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-238/+259
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-29Tests: more fixtures.Andrei Zeliankou1-3/+0
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have early access.
2023-05-25Tests: unified setup method usage.Andrei Zeliankou1-1/+3
To make fixtures accessible inside of setup methods in tests all these methods are renamed to the "setup_method_fixture" and decorated by autouse flag. Also all setup methods moved to the top of the files.
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-32/+19
Previously, it was necessary to support older versions of Python for compatibility. F-strings were released in Python 3.6. Python 3.5 was marked as unsupported by the end of 2020, so now it's possible to start using f-strings safely for better readability and performance.
2022-06-30Tests: minor improvements.Andrei Zeliankou1-1/+1
Added "go" availability check before trying to build an application. update_action() method used were possible and fixed bug with the relative path determination in test_static_chroot.py. Templates optimization and style fixes.
2022-04-11Tests: style.Andrei Zeliankou1-4/+3
2021-11-15Tests: refactored working with processes.Andrei Zeliankou1-2/+2
2021-11-02Tests: removed unused imports.Andrei Zeliankou1-1/+0
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-07-23Tests: added SNI test without hostname in request.Andrei Zeliankou1-0/+20
2021-04-05Tests: style.Andrei Zeliankou1-19/+9
2021-03-26Tests: SNI.Andrei Zeliankou1-0/+286