def test_reset_password():
    auth, app, user = _get_flask_app()
    client = app.test_client()
    log = []

    def send_email(user, subject, msg):
        log.append(msg)

    auth.send_email = send_email
    user.get_token()

    r = client.get(auth.url_reset_password)
    data = to_unicode(r.data)
    print(data)
    assert data in u'Reset password'
dataset/ETHPy150Open jpscaletti/authcode/tests/test_views.py/test_reset_password/swapped operands of `in`