Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-15 | Tests: pathlib used where appropriate | Andrei Zeliankou | 1 | -0/+1 | |
Also fixed various pylint errors and style issues. | |||||
2023-11-08 | Tests: 8XXX used as default port range. | Andrei Zeliankou | 1 | -4/+4 | |
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-06-14 | Tests: get rid of classes in test files. | Andrei Zeliankou | 1 | -404/+436 | |
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-12 | Tests: prerequisites checking reworked. | Andrei Zeliankou | 1 | -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-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -2/+2 | |
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-04-11 | Tests: style. | Andrei Zeliankou | 1 | -9/+7 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -0/+1 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2020-11-19 | Tests: added tests for a "discard_unsafe_fields" option. | Andrei Zeliankou | 1 | -0/+38 | |
2020-11-19 | Tests: style. | Andrei Zeliankou | 1 | -36/+40 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -2/+2 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -174/+120 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -0/+1 | |
2020-04-24 | Tests: introduced module version specification in prerequisites. | Andrei Zeliankou | 1 | -1/+1 | |
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 1 | -1/+1 | |
2019-05-30 | Tests: fixed tests without "Host" header. | Andrey Zelenkov | 1 | -4/+3 | |
2019-04-09 | Tests: simplified module checking. | Andrey Zelenkov | 1 | -2/+1 | |
2019-03-28 | Tests: unit module refactoring. | Andrey Zelenkov | 1 | -5/+4 | |
2019-03-26 | Tests: style. | Andrey Zelenkov | 1 | -177/+299 | |
2019-02-27 | Tests: "Host" header tests. | Andrey Zelenkov | 1 | -0/+147 | |
2019-02-27 | Tests: added "Host" and "Connetion" headers where necessary. | Andrey Zelenkov | 1 | -21/+43 | |
Also minor header organizing. | |||||
2019-02-20 | Tests: removed test_http_header_transfer_encoding_chunked. | Andrey Zelenkov | 1 | -17/+0 | |
2019-02-18 | Rejecting requests with duplicate "Content-Length". | Valentin Bartenev | 1 | -1/+0 | |
2019-02-14 | Tests: added tests for "Content-Length" header. | Andrey Zelenkov | 1 | -0/+46 | |
2018-11-15 | Tests: added command line arguments parsing in tests. | Andrey Zelenkov | 1 | -1/+1 | |
Added the following command line arguments: -d, --detailed: Show detailed output for tests Usage examples: ./test/run.py --detailed python3 test/test_access_log.py --detailed python3 test/test_access_log.py -d TestUnitAccessLog.test_access_log_ipv6 -l, --log: Save unit.log after the test execution Usage examples: ./test/run.py -l python3 test/test_access_log.py -l python3 test/test_access_log.py --log TestUnitAccessLog.test_access_log_ipv6 | |||||
2018-08-08 | Tests: simple "Transfer-Encoding" client header test. | Andrey Zelenkov | 1 | -0/+17 | |
2018-08-06 | Python: decoding unicode strings as Latin1. | Max Romanov | 1 | -1/+0 | |
According to PEP 3333, header names and values should be decoded as Latin1. | |||||
2018-07-30 | Tests: fixed header value char tests. | Andrey Zelenkov | 1 | -6/+13 | |
Use byte strings to avoid problems with encoding. | |||||
2018-07-11 | Tests: more chars in header values tests. | Andrey Zelenkov | 1 | -0/+20 | |
2018-03-16 | Tests: HTTP header field and value tests. | Andrey Zelenkov | 1 | -0/+123 | |