We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab7d0c commit c3eca1dCopy full SHA for c3eca1d
.github/workflows/test.yml
@@ -38,6 +38,7 @@ jobs:
38
path: allure-results
39
40
publish-report:
41
+ if: always()
42
needs: [ run-tests ]
43
runs-on: ubuntu-latest
44
clients/event_hooks.py
@@ -6,20 +6,10 @@
6
7
8
def log_request_event_hook(request: Request):
9
- """
10
- Логирует информацию об отправленном HTTP-запросе.
11
-
12
- :param request: Объект запроса HTTPX.
13
14
logger.info(f'Make {request.method} request to {request.url}')
15
16
17
def log_response_event_hook(response: Response):
18
19
- Логирует информацию о полученном HTTP-ответе.
20
21
- :param response: Объект ответа HTTPX.
22
23
logger.info(
24
f"Got response {response.status_code} {response.reason_phrase} from {response.url}"
25
)
0 commit comments