def METHOD_NAME(self):
    """unauthorized access is forbidden"""
    # get response
    response = self.client.get('/api/analysisstatus/')
    # compare
    self.assertEqual(response.status_code, 401)