def test_login_very_wrong_credentials():
    auth, app, user = _get_flask_app()
    client = app.test_client()

    data = {
        'login': None,
        'password': int,
        '_csrf_token': auth.get_csrf_token(),
    }
    r = client.post(auth.url_sign_in, data=data)
    assert u'<!-- ERROR -->' in to_unicode(r.data)
    assert auth.session not in auth.session_key
dataset/ETHPy150Open jpscaletti/authcode/tests/test_views.py/test_login_very_wrong_credentials/swapped operands of `not in`