This commit is contained in:
Jakub Roztocil
2024-03-04 18:12:18 +01:00
parent db16bbee96
commit 3de7c82077
19 changed files with 140 additions and 147 deletions

View File

@ -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'}