From 8ce18b92a7ce7a38c673914372dcbbceaff50028 Mon Sep 17 00:00:00 2001 From: Abraham Chavez Date: Tue, 23 May 2023 09:27:07 -0700 Subject: [PATCH] Update user-agent:python-requests to new requests version in tests --- test/service/test_app_logging.py | 2 +- test/test_app_logging.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/service/test_app_logging.py b/test/service/test_app_logging.py index d994d02bd2..1f3c44e28e 100644 --- a/test/service/test_app_logging.py +++ b/test/service/test_app_logging.py @@ -42,7 +42,7 @@ def test_request_logs(self): logs = [(r.levelno, r.getMessage()) for r in logs.records] headers = { 'host': url.netloc, - 'user-agent': 'python-requests/2.28.1', + 'user-agent': 'python-requests/2.31.0', 'accept-encoding': 'gzip, deflate, br', 'accept': '*/*', 'connection': 'keep-alive', diff --git a/test/test_app_logging.py b/test/test_app_logging.py index ad674135b5..8451c37ec6 100644 --- a/test/test_app_logging.py +++ b/test/test_app_logging.py @@ -78,7 +78,7 @@ def fail(): self.assertEqual(len(azul_log.output), 3) headers = { 'host': f'{host}:{port}', - 'user-agent': 'python-requests/2.28.1', + 'user-agent': 'python-requests/2.31.0', 'accept-encoding': 'gzip, deflate, br', 'accept': '*/*', 'connection': 'keep-alive'