def test_basic_auth(httpbin_both):
    r = http('--auth=user:password',
             'GET', httpbin_both / '/basic-auth/user/password')
    assert HTTP_OK in r
    assert r.json == {'authenticated': True, 'user': 'user'}
dataset/ETHPy150Open jkbrzt/httpie/tests/test_auth.py/test_basic_auth/operator `+` -> `/`