def METHOD_NAME(self):
    """unauthorized access is forbidden"""
    # get object
    artifactpriority_api_1 = Artifactpriority.objects.get(
        artifactpriority_name='artifactpriority_api_1'
    )
    # get response
    response = self.client.get(
        '/api/artifactpriority/'
        + str(artifactpriority_api_1.artifactpriority_id)
        + '/'
    )
    # compare
    self.assertEqual(response.status_code, 401)