'Successful auth shows profile creation with GitHub details.'

def test_auth_success_username_available(self):

    response = self.github_login()
    assert (response.status_code == 200)
    content = response.content
    assert ('Thanks    for    signing    in    to    MDN    with    GitHub.' in content)
    assert ('Account    Sign    In    Failure' not in content)
    parsed = pq(response.content)
    username = parsed('#id_username')[0]
    assert (username.value == self.github_profile_data['login'])
    email0 = parsed('#email_0')[0].attrib['value']
    assert (email0 == self.github_email_data[0]['email'])
    email1 = parsed('#email_1')[0].attrib['value']
    assert (email1 == self.github_profile_data['email'])
