'When not authenticated, the GitHub login link is present.'

def test_signin_form_present(self):

    locale = settings.WIKI_DEFAULT_LANGUAGE
    all_docs_url = reverse('wiki.all_documents', locale=locale)
    response = self.client.get(all_docs_url, follow=True)
    parsed = pq(response.content)
    github_link = parsed.find("a.login-link[data-service='GitHub']")[0]
    github_url = urlparams(reverse('github_login'), next=all_docs_url)
    assert (github_link.attrib['href'] == github_url)
