Skip to content

Commit

Permalink
Update user-agent:python-requests to new requests version in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achave11-ucsc committed May 23, 2023
1 parent 849a8c3 commit 8ce18b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/service/test_app_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion test/test_app_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8ce18b9

Please sign in to comment.