History log of /unit/test/unit/http.py (Results 1 – 25 of 34)
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 ...


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
# 2249:06504073b118 29-Nov-2022 Andrei Zeliankou

Tests: NJS.


# 2212:975ab1624784 11-Oct-2022 Andrei Zeliankou

Tests: don't try to return response when "no_recv" is True.


Revision tags: 1.28.0-1, 1.28.0
# 2182:55860ad40a93 25-Aug-2022 Andrei Zeliankou

Tests: added tests with abstract UNIX sockets.


# 2167:e38ab67c7f63 28-Jul-2022 Andrei Zeliankou

Tests: added flags to search functions in proto.py.

Also removed unnesessary re.compile() calls.


Revision tags: 1.27.0-1, 1.27.0
# 2073:bc6ad31ce286 11-Apr-2022 Andrei Zeliankou

Tests: style.


Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0
# 1922:53a9f4983fe0 23-Jul-2021 Andrei Zeliankou

Tests: added SNI test without hostname in request.


Revision tags: 1.24.0-1, 1.24.0
# 1848:4bd548074e2c 05-Apr-2021 Andrei Zeliankou

Tests: style.


# 1843:1dab4306e8da 26-Mar-2021 Andrei Zeliankou

Tests: SNI.


Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0
# 1741:8c05e9ddbffb 09-Dec-2020 Andrei Zeliankou

Tests: TestUnit class removed.

Prerequisite checks moved to the fixture in conftest.py.


# 1730:44912af5b3e6 06-Dec-2020 Andrei Zeliankou

Tests: options moved to the separate class.

This change is necessary to separate the logic
and prevent possible circular dependency.


Revision tags: 1.21.0-1, 1.21.0
# 1706:a1da56837554 16-Nov-2020 Max Romanov

Tests: fixing tests interrupt in terminal.

KeyboardInterrupt re-raised.


# 1654:fc7d0578e124 19-Oct-2020 Andrei Zeliankou

Tests: fixed unit.log print.


Revision tags: 1.20.0-1, 1.20.0
# 1635:97afbb6c5a15 07-Oct-2020 Andrei Zeliankou

Tests: minor fixes.


# 1608:283a8bcf8d2e 21-Sep-2020 Max Romanov

Tests: using dict.get() method with default value.

No functional changes. Only code readability improved.


# 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
# 1453:71af60a59338 14-Apr-2020 Andrei Zeliankou

Tests: minor fixes and style.


# 1444:8f7f7970c07a 03-Apr-2020 Andrei Zeliankou

Tests: added notification on "read_timeout" expiration.


# 1424:449e7e7d25c9 23-Mar-2020 Andrei Zeliankou

Tests: increase default "read_timeout" value to 60s.

This change is necessary to avoid errors on slow hosts.

Also slightly reworked argument passing to the recvall() function.


# 1423:fdc49da4c1ae 23-Mar-2020 Andrei Zeliankou

Tests: added notification on unsuccessful connect().


Revision tags: 1.16.0-1, 1.16.0
# 1372:ee63e98a5601 02-Mar-2020 Andrei Zeliankou

Tests: truncated huge messages while logging.


Revision tags: 1.15.0-1, 1.15.0
# 1355:20971df0d346 05-Feb-2020 Tiago Natel de Moura

Tests: add helper for form-data and multipart.


12