History log of /unit/test/test_return.py (Results 1 – 16 of 16)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 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 ...


# 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, 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0
# 2099:110766ffd5d9 22-Mar-2022 Alejandro Colomar

Tests: Added tests for empty "location".


# 2083:6012aa060ec5 22-Mar-2022 Alejandro Colomar

Tests: Added tests for variables in "location".


# 2082:cdea0ed10d01 22-Mar-2022 Alejandro Colomar

Tests: Changed tests to accept variables in "location".


Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0, 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.


Revision tags: 1.20.0-1, 1.20.0
# 1596:b7e2d4d92624 16-Sep-2020 Andrei Zeliankou

Tests: migrated to the pytest.


Revision tags: 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0
# 1477:b93d1acf81bd 15-May-2020 Andrei Zeliankou

Tests: style.


Revision tags: 1.17.0-1, 1.17.0
# 1443:433622b9cc55 03-Apr-2020 Andrei Zeliankou

Tests: minor fixes.


# 1441:b2caecb224f7 30-Mar-2020 Andrei Zeliankou

Tests: added tests for rational numbers in upstream server weight.


# 1435:b7131bfeb438 27-Mar-2020 Andrei Zeliankou

Tests: added tests for "location" option.


# 1434:7e6a2071f723 27-Mar-2020 Andrei Zeliankou

Tests: added tests for "return" action.