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 | -30/+30 | |
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 | -394/+411 | |
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-05-25 | Tests: unified setup method usage. | Andrei Zeliankou | 1 | -38/+39 | |
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-05-25 | Tests: removed unused variables. | Andrei Zeliankou | 1 | -1/+1 | |
2023-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -25/+18 | |
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-10-11 | Tests: don't try to return response when "no_recv" is True. | Andrei Zeliankou | 1 | -18/+7 | |
2022-09-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -4/+0 | |
2022-04-11 | Tests: style. | Andrei Zeliankou | 1 | -6/+3 | |
2021-12-12 | Tests: fixed type of applications. | Andrei Zeliankou | 1 | -5/+5 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -4/+6 | |
2021-02-08 | Tests: added "--restart" option. | Andrei Zeliankou | 1 | -0/+1 | |
Now Unit do not restart after each test by default. | |||||
2021-01-14 | Tests: added missing checks for configuration results. | Andrei Zeliankou | 1 | -2/+4 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2020-12-08 | Tests: skip_alert() converted to the fixture. | Andrei Zeliankou | 1 | -2/+1 | |
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-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -6/+6 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -3/+5 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -243/+174 | |
2020-03-17 | Fixing body fd access racing condition. | Max Romanov | 1 | -2/+0 | |
To avoid closing the body fd prematurely, the fd value is moved from the request struct to the app link. The body fd should not be closed immediately after the request is sent to the application due to possible request rescheduling. | |||||
2020-03-12 | Tests: skip "close failed" alert in test_proxy_parallel test. | Andrei Zeliankou | 1 | -0/+2 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -1/+2 | |
2020-05-15 | Tests: test_proxy_invalid simplified. | Andrei Zeliankou | 1 | -79/+20 | |
2020-04-24 | Tests: introduced module version specification in prerequisites. | Andrei Zeliankou | 1 | -1/+1 | |
2020-04-20 | Tests: skips adjusted. | Andrei Zeliankou | 1 | -1/+8 | |
2020-02-04 | Tests: fixing Python 3.8.1 errors on Mac. | Max Romanov | 1 | -3/+4 | |
- "Can't pickle local object ..." - "if __name__ == '__main__':" pattern required for multiprocessing | |||||
2020-02-20 | Tests: added proxy test with large body. | Andrei Zeliankou | 1 | -0/+7 | |
2019-11-14 | Tests: proxy tests. | Andrei Zeliankou | 1 | -0/+622 | |