'After logging in, there should be a ga-push data attr on body.'

def test_ga_custom_variable_on_admin_login(self):

    user_ = UserFactory()
    user_.groups.add(GroupFactory(name='Administrators'))
    response = self.client.post(reverse('users.login'), {'username': user_.username, 'password': 'testpass'}, follow=True)
    eq_(200, response.status_code)
    doc = pq(response.content)
    assert ('"Contributor    -    Admin"' in doc('body').attr('data-ga-push'))
