Skip to content

Commit

Permalink
🐛 fix(test_to_curl.py): update user-agent header value
Browse files Browse the repository at this point in the history
The user-agent header value was updated to reflect the current version of the httpx module used in the test. This ensures that the test is up-to-date and accurate.
  • Loading branch information
marcuxyz committed Jun 7, 2023
1 parent 9f37657 commit 5f8c95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_to_curl.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_returns_curl_string_using_httpx_module(httpx_mock):
curl = to_curl(response.request)
assert (
curl
== 'curl -X GET -H "host: test_url" -H "accept: */*" -H "accept-encoding: gzip, deflate" -H "connection: keep-alive" -H "user-agent: python-httpx/0.16.1" -d '
== 'curl -X GET -H "host: test_url" -H "accept: */*" -H "accept-encoding: gzip, deflate" -H "connection: keep-alive" -H "user-agent: python-httpx/0.24.1" -d '
"'"
"b"
"'"
Expand Down

0 comments on commit 5f8c95f

Please sign in to comment.