mirror of
https://github.com/httpie/cli.git
synced 2025-08-14 07:48:49 +02:00
Cleanup
This commit is contained in:
@ -42,7 +42,7 @@ def test_bearer_auth(httpbin_both, token):
|
||||
new=lambda self, prompt: 'password')
|
||||
def test_password_prompt(httpbin):
|
||||
r = http('--auth', 'user',
|
||||
'GET', httpbin.url + '/basic-auth/user/password')
|
||||
'GET', httpbin + '/basic-auth/user/password')
|
||||
assert HTTP_OK in r
|
||||
assert r.json == {'authenticated': True, 'user': 'user'}
|
||||
|
||||
|
Reference in New Issue
Block a user