Revision tags: 1.32.1-1, 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 ...
|
Revision tags: 1.31.1-1, 1.31.1, 1.31.0-1, 1.31.0 |
|
#
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 ...
|
#
2477:4633c7db7fb5 |
| 25-May-2023 |
Andrei Zeliankou |
Tests: removed unused variables.
|
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 |
|
#
2273:a13c26f62477 |
| 14-Nov-2021 |
OutOfFocus4 |
Python: Added "prefix" to configuration.
This patch gives users the option to set a `"prefix"` attribute for Python applications, either at the top level or for specific `"target"`s. If the attribut
Python: Added "prefix" to configuration.
This patch gives users the option to set a `"prefix"` attribute for Python applications, either at the top level or for specific `"target"`s. If the attribute is present, the value of `"prefix"` must be a string beginning with `"/"`. If the value of the `"prefix"` attribute is longer than 1 character and ends in `"/"`, the trailing `"/"` is stripped.
The purpose of the `"prefix"` attribute is to set the `SCRIPT_NAME` context value for WSGI applications and the `root_path` context value for ASGI applications, allowing applications to properly route requests regardless of the path that the server uses to expose the application.
The context value is only set if the request's URL path begins with the value of the `"prefix"` attribute. In all other cases, the `SCRIPT_NAME` or `root_path` values are not set. In addition, for WSGI applications, the value of `"prefix"` will be stripped from the beginning of the request's URL path before it is sent to the application.
Reviewed-by: Andrei Zeliankou <zelenkov@nginx.com> Reviewed-by: Artem Konev <artem.konev@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
show more ...
|
Revision tags: 1.28.0-1, 1.28.0 |
|
#
2190:fbfec2aaf4c3 |
| 07-Sep-2022 |
Andrei Zeliankou |
Tests: minor fixes.
|
#
2182:55860ad40a93 |
| 25-Aug-2022 |
Andrei Zeliankou |
Tests: added tests with abstract UNIX sockets.
|
Revision tags: 1.27.0-1, 1.27.0, 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0 |
|
#
1971:3410f9d2a662 |
| 18-Oct-2021 |
Andrei Zeliankou |
Tests: style.
|
Revision tags: 1.25.0-1, 1.25.0 |
|
#
1913:3e9b04cd33bc |
| 03-Jul-2021 |
Andrei Zeliankou |
Tests: address configuration tests reworked.
|
#
1902:17547cf0ed39 |
| 28-Jun-2021 |
Andrei Zeliankou |
Tests: renamed share to static.
Also minor style changes.
|
Revision tags: 1.24.0-1, 1.24.0 |
|
#
1871:11bd3ef5a1fc |
| 18-May-2021 |
Andrei Zeliankou |
Tests: added test to check port release.
|
#
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 |
|
#
1771:94cf6c5fafbd |
| 13-Jan-2021 |
Andrei Zeliankou |
Tests: style.
|
#
1736:22db875fda34 |
| 08-Dec-2020 |
Andrei Zeliankou |
Tests: skip_alert() converted to the fixture.
|
Revision tags: 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0 |
|
#
1635:97afbb6c5a15 |
| 07-Oct-2020 |
Andrei Zeliankou |
Tests: minor fixes.
|
#
1596:b7e2d4d92624 |
| 16-Sep-2020 |
Andrei Zeliankou |
Tests: migrated to the pytest.
|
Revision tags: 1.19.0-1, 1.19.0 |
|
#
1569:250605931a20 |
| 12-Aug-2020 |
Tiago Natel de Moura |
Tests: set root by unprivilaged user.
|
#
1551:2fcbe6700258 |
| 11-Aug-2020 |
Max Romanov |
Tests: reducing the number of generated applications.
Each application initializes a shared port with 2 file descriptors, so the test fails because the router reaches the open files limit.
|
Revision tags: 1.18.0-1, 1.18.0 |
|
#
1477:b93d1acf81bd |
| 15-May-2020 |
Andrei Zeliankou |
Tests: style.
|
#
1467:195fe0a92670 |
| 24-Apr-2020 |
Andrei Zeliankou |
Tests: introduced module version specification in prerequisites.
|
Revision tags: 1.17.0-1, 1.17.0 |
|
#
1427:2d8783102f45 |
| 25-Mar-2020 |
Andrei Zeliankou |
Tests: added tests for comments in JSON.
|
#
1426:a22c6e83211b |
| 25-Mar-2020 |
Andrei Zeliankou |
Tests: UTF-8 BOM test.
|