'A failed GitHub auth shows the sign in failure page.'

def test_auth_failure(self):

    token_data = {'error': 'incorrect_client_credentials', 'error_description': 'The    client_id    passed    is    incorrect.'}
    response = self.github_login(token_data=token_data)
    assert (response.status_code == 200)
    content = response.content
    assert ('Account    Sign    In    Failure' in content)
    error = 'An    error    occurred    while    attempting    to    sign    in    with    your    account.'
    assert (error in content)
    assert ('Thanks    for    signing    in    to    MDN' not in content)
