Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-15 | Tests: pathlib used where appropriate | Andrei Zeliankou | 1 | -29/+17 | |
Also fixed various pylint errors and style issues. | |||||
2023-11-08 | Tests: 8XXX used as default port range. | Andrei Zeliankou | 1 | -1/+1 | |
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 | -310/+324 | |
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/+0 | |
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-25 | Tests: unified setup method usage. | Andrei Zeliankou | 1 | -12/+10 | |
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-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -32/+34 | |
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-11-15 | Tests: removed migration test. | Andrei Zeliankou | 1 | -46/+0 | |
Migration of "share" behaviour was dropped after b57b4749b993. | |||||
2022-10-11 | Tests: don't try to return response when "no_recv" is True. | Andrei Zeliankou | 1 | -2/+2 | |
2022-05-30 | Tests: added tests for "index" (string) option. | Alejandro Colomar | 1 | -0/+28 | |
2022-04-11 | Tests: style. | Andrei Zeliankou | 1 | -13/+15 | |
2022-01-31 | Tests: removed TestApplicationTLS.get_server_certificate(). | Andrei Zeliankou | 1 | -1/+2 | |
distutils.version is replaced by packaging.version. Also minor style fixes. | |||||
2021-11-04 | Tests: added migration test for "share". | Andrei Zeliankou | 1 | -0/+45 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2021-09-30 | Static: variables in the "share" option. | Zhidao HONG | 1 | -1/+3 | |
This commit supports variable in the "share" option, the finding path to file serve is the value from "share". An example: { "share": "/www/data/static$uri" } | |||||
2021-05-05 | Tests: added tests for openat2() features. | Andrei Zeliankou | 1 | -8/+0 | |
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -7/+4 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2020-12-08 | Tests: utils module introduced. | Andrei Zeliankou | 1 | -1/+1 | |
2020-12-06 | Tests: options moved to the separate class. | Andrei Zeliankou | 1 | -1/+1 | |
This change is necessary to separate the logic and prevent possible circular dependency. | |||||
2020-11-16 | Tests: fixing tests interrupt in terminal. | Max Romanov | 1 | -0/+3 | |
KeyboardInterrupt re-raised. | |||||
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -38/+39 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -2/+3 | |
2020-09-30 | Tests: fixed test_static_space_in_name. | Andrei Zeliankou | 1 | -1/+1 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -316/+213 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -0/+1 | |
2020-02-21 | Tests: more static tests. | Andrei Zeliankou | 1 | -4/+26 | |
2019-10-23 | Tests: more static tests. | Andrey Zelenkov | 1 | -0/+6 | |
2019-09-24 | Tests: static tests with file system objects. | Andrey Zelenkov | 1 | -0/+24 | |
2019-09-19 | Tests: serving static files. | Andrey Zelenkov | 1 | -0/+376 | |