def METHOD_NAME(self):
    """unauthorized access is forbidden"""
    # get object
    os_api_1 = Os.objects.get(os_name='os_api_1')
    # get response
    response = self.client.get('/api/os/' + str(os_api_1.os_id) + '/')
    # compare
    self.assertEqual(response.status_code, 401)