'The mobile login view should have a CSRF token.'

def test_login_mobile_csrf(self):

    response = self.client.get(reverse('users.login'), {'mobile': 1})
    eq_(200, response.status_code)
    doc = pq(response.content)
    assert doc('#content    form    input[name="csrfmiddlewaretoken"]')
