Revision tags: 1.32.0-1, 1.32.0 |
|
#
2616:ab2896c980ab |
| 15-Jan-2024 |
Andrei Zeliankou |
Tests: pathlib used where appropriate
Also fixed various pylint errors and style issues.
|
#
2592:e079c44a8340 |
| 08-Nov-2023 |
Andrei Zeliankou |
Tests: 8XXX used as default port range.
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
Tests: 8XXX used as default port range.
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.
show more ...
|
#
2590:909122130e06 |
| 08-Nov-2023 |
Andrei Zeliankou |
Var: $request_id variable.
This variable contains a string that is formed using random data and can be used as a unique request identifier.
This closes #714 issue on GitHub.
|
Revision tags: 1.31.1-1, 1.31.1, 1.31.0-1, 1.31.0 |
|
#
2506:6c8789eb55cd |
| 11-Jul-2023 |
Andrei Zeliankou |
Tests: added tests for response header variables.
|
#
2492:0d708d831d9f |
| 14-Jun-2023 |
Andrei Zeliankou |
Tests: no caching for $uri variable.
|
#
2491:aae60837ac20 |
| 14-Jun-2023 |
Andrei Zeliankou |
Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing te
Tests: get rid of classes in test files.
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.
show more ...
|
#
2488:55440e02a873 |
| 12-Jun-2023 |
Andrei Zeliankou |
Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduce
Tests: prerequisites checking reworked.
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.
show more ...
|
#
2482:88df458ead6d |
| 29-May-2023 |
Andrei Zeliankou |
Tests: more fixtures.
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 ea
Tests: more fixtures.
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.
show more ...
|
#
2480:63b9663e2f8f |
| 25-May-2023 |
Andrei Zeliankou |
Tests: assertion related fixes.
|
#
2479:208ef4e1186a |
| 25-May-2023 |
Andrei Zeliankou |
Tests: "temp_dir" fixture used were possible.
|
#
2478:c08289a08a73 |
| 25-May-2023 |
Andrei Zeliankou |
Tests: unified setup method usage.
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 s
Tests: unified setup method usage.
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.
show more ...
|
Revision tags: 1.30.0-1, 1.30.0, 1.29.1-1, 1.29.1 |
|
#
2330:4b1f175f9c88 |
| 21-Feb-2023 |
Andrei Zeliankou |
Tests: switched to using f-strings.
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
Tests: switched to using f-strings.
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.
show more ...
|
Revision tags: 1.29.0-1, 1.29.0 |
|
#
2243:dd668fe8d827 |
| 20-Nov-2022 |
Zhidao HONG |
Var: improved variable parsing with empty names.
Unit parsed the case of "$uri$$host" into unknown variables. This commit makes it invalid variable instead.
|
#
2236:a0d15bc96b3c |
| 15-Nov-2022 |
Andrei Zeliankou |
Tests: fixed assertion in test_variables_dynamic.
|
#
2215:2c015bf26fac |
| 13-Oct-2022 |
Andrei Zeliankou |
Tests: added tests for the $request_time variable.
|
#
2213:591f976b08dd |
| 11-Oct-2022 |
Andrei Zeliankou |
Tests: reworked "test_variables.py".
Access log used for the variables testing instead of limited routing. Added missed test for $status variable. Some tests moved from "test_access_log.py" to "test
Tests: reworked "test_variables.py".
Access log used for the variables testing instead of limited routing. Added missed test for $status variable. Some tests moved from "test_access_log.py" to "test_variables.py".
show more ...
|
Revision tags: 1.28.0-1, 1.28.0 |
|
#
2159:cd24064ec2ee |
| 20-Jul-2022 |
Andrew Clayton |
Tests: added tests for translating $dollar into a literal $.
If you need to specify a $ in a URI you can now use '$dollar' or '${dollar}'.
Added some tests for the above to test_variables.py settin
Tests: added tests for translating $dollar into a literal $.
If you need to specify a $ in a URI you can now use '$dollar' or '${dollar}'.
Added some tests for the above to test_variables.py setting a Location string.
show more ...
|
#
2157:6b6ac75272b5 |
| 19-Jul-2022 |
Andrei Zeliankou |
Tests: added tests for more HTTP variables.
|
#
2148:41dc6997c6fe |
| 14-Jul-2022 |
Andrei Zeliankou |
Tests: added tests for dynamic variables.
|
Revision tags: 1.27.0-1, 1.27.0 |
|
#
2114:c483df06e58c |
| 01-Jun-2022 |
Andrei Zeliankou |
Tests: improved test for $request_uri variable.
|
#
2111:bfbe40d3c24b |
| 30-May-2022 |
Alejandro Colomar |
Tests: Added tests for $request_uri.
|
#
2066:242192963d93 |
| 31-Jan-2022 |
Andrei Zeliankou |
Tests: removed TestApplicationTLS.get_server_certificate().
distutils.version is replaced by packaging.version. Also minor style fixes.
|
Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0 |
|
#
1928:ae4f067a9ea4 |
| 01-Aug-2021 |
Zhidao HONG |
Router: fixed segmentation fault.
In the case that routes or upstreams is empty and the pass option is a variable. If the resolved pass is routes or upstreams, a segment error occurred.
|
Revision tags: 1.24.0-1, 1.24.0 |
|
#
1848:4bd548074e2c |
| 05-Apr-2021 |
Andrei Zeliankou |
Tests: style.
|
Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0 |
|
#
1654:fc7d0578e124 |
| 19-Oct-2020 |
Andrei Zeliankou |
Tests: fixed unit.log print.
|