We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb2afc commit dadf91dCopy full SHA for dadf91d
1 file changed
test/service/test_app_logging.py
@@ -83,9 +83,10 @@ def filter_body(organ: str) -> JSON:
83
'content-type': 'application/json',
84
**request_headers
85
}
86
- response = self.http().request('GET', str(url),
87
- json=body_json,
88
- headers=request_headers)
+ http = self.http_client()
+ response = http.request('GET', str(url),
+ json=body_json,
89
+ headers=request_headers)
90
logs = [(r.levelno, r.getMessage()) for r in logs.records]
91
body_log_level, body_log_message = logs.pop() # asserted separately
92
request_headers = {
0 commit comments