def METHOD_NAME(self):
    """unauthorized access is forbidden"""
    # get object
    osarch_api_1 = Osarch.objects.get(osarch_name='osarch_1')
    # get response
    response = self.client.get('/api/osarch/' + str(osarch_api_1.osarch_id) + '/')
    # compare
    self.assertEqual(response.status_code, 401)