'The view should return HTTP status 401 if no user is authenticated.'

def test_not_authenticated(self):

    response = self.http_get_for_course(HTTP_AUTHORIZATION=None)
    self.assertEqual(response.status_code, 401)
