'Asserts that an unauthenticated user cannot access a survey'

def test_unauthenticated_survey_view(self):

    anon_user = Client()
    resp = anon_user.get(self.view_url)
    self.assertEquals(resp.status_code, 302)
