'The login buttons should display on the 404 page'

def test_404_logins(self):

    response = self.client.get('/something-doesnt-exist', follow=True)
    doc = pq(response.content)
    login_block = doc.find('.socialaccount-providers')
    ok_((len(login_block) > 0))
    eq_(404, response.status_code)
