Andrei Zeliankou
7934dcabbc
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.
2023-02-21 17:21:29 +00:00
Andrei Zeliankou
8e1e047191
Tests: don't try to return response when "no_recv" is True.
2022-10-11 13:49:10 +01:00
Andrei Zeliankou
c65e04682e
Tests: minor fixes.
2022-09-07 01:11:04 +01:00
Andrei Zeliankou
0f72534660
Tests: style.
2022-04-11 21:05:14 +01:00
Andrei Zeliankou
9bea8c452f
Tests: fixed type of applications.
2021-12-12 21:36:44 +00:00
Andrei Zeliankou
39adb292d5
Tests: style.
2021-10-18 01:10:11 +01:00
Andrei Zeliankou
6c97a1a069
Tests: style.
2021-04-05 14:03:05 +01:00
Andrei Zeliankou
4404097e05
Tests: added "--restart" option.
...
Now Unit do not restart after each test by default.
2021-02-08 23:32:27 +00:00
Andrei Zeliankou
d43a84139d
Tests: added missing checks for configuration results.
2021-01-14 03:04:20 +00:00
Andrei Zeliankou
6dc9c47ccd
Tests: style.
2021-01-13 06:22:43 +00:00
Andrei Zeliankou
b2e767819f
Tests: skip_alert() converted to the fixture.
2020-12-08 14:37:33 +00:00
Andrei Zeliankou
8f91628563
Tests: utils module introduced.
2020-12-08 14:37:25 +00:00
Andrei Zeliankou
07789a23e9
Tests: options moved to the separate class.
...
This change is necessary to separate the logic
and prevent possible circular dependency.
2020-12-06 16:01:59 +00:00
Andrei Zeliankou
54837759f3
Tests: fixed unit.log print.
2020-10-19 22:25:29 +01:00
Andrei Zeliankou
6ec0ff3596
Tests: minor fixes.
2020-10-07 23:18:43 +01:00
Andrei Zeliankou
d5e9159340
Tests: migrated to the pytest.
2020-09-16 21:31:15 +01:00
Andrei Zeliankou
ce4a2bbd05
Tests: style.
2020-05-15 04:20:56 +01:00
Andrei Zeliankou
cf73fb8093
Tests: test_proxy_invalid simplified.
2020-05-15 04:20:45 +01:00
Andrei Zeliankou
6a9a4fe0d4
Tests: introduced module version specification in prerequisites.
2020-04-24 05:08:56 +01:00
Andrei Zeliankou
8f6e6086cb
Tests: skips adjusted.
2020-04-20 14:04:55 +01:00
Max Romanov
c6f9ca79e6
Fixing body fd access racing condition.
...
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-17 14:44:11 +03:00
Andrei Zeliankou
baf9230398
Tests: skip "close failed" alert in test_proxy_parallel test.
2020-03-12 17:14:16 +00:00
Andrei Zeliankou
1f2445b01b
Tests: added proxy test with large body.
2020-02-20 21:06:31 +00:00
Max Romanov
81b39d0b35
Tests: fixing Python 3.8.1 errors on Mac.
...
- "Can't pickle local object ..."
- "if __name__ == '__main__':" pattern required for multiprocessing
2020-02-04 11:39:34 +03:00
Andrei Zeliankou
c7726c0eb1
Tests: proxy tests.
2019-11-14 17:15:29 +03:00