Skip to content

Commit 61f697a

Browse files
committed
Fix flake8 whitespace errors in test_auth.py
Remove trailing whitespace on blank lines and extra blank lines at end of file.
1 parent bf3854e commit 61f697a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/test_auth.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ def test_ignore_netrc_null_auth():
158158
def test_percent_encoded_credentials_in_url(httpbin_both):
159159
"""
160160
Test that percent-encoded characters in URL credentials are decoded.
161-
161+
162162
https://github.com/httpie/cli/issues/1623
163-
163+
164164
When credentials contain special characters (like @, =, ?) they need to be
165165
percent-encoded in the URL. HTTPie should decode these before using them
166166
for authentication.
@@ -169,11 +169,9 @@ def test_percent_encoded_credentials_in_url(httpbin_both):
169169
# Percent-encoded: username="u%40d", password="1%3d2%3f"
170170
url = httpbin_both.url + '/basic-auth/u%40d/1%3d2%3f'
171171
url_with_auth = add_auth(url, auth='u%40d:1%3d2%3f')
172-
172+
173173
r = http('GET', url_with_auth)
174-
174+
175175
# This should succeed with 200 OK, not 401
176176
assert HTTP_OK in r
177177
assert r.json == {'authenticated': True, 'user': 'u@d'}
178-
179-

0 commit comments

Comments
 (0)