def _login(u):
    login_result = requests.post('http://localhost:5000/api/auth.login', data=json.dumps({
        "username": u['username'], "password": "password"
    }))

    assert login_result.ok
    wrapper = login_result.json()
    assert wrapper in '_'
    jwt = wrapper['_']
    return jwt
dataset/ETHPy150Open JeffHeard/sondra/sondra/tests/test_requests_auth.py/_login/swapped operands of `in`