def METHOD_NAME(self):
    """DELETE is forbidden"""
    # get object
    artifactpriority_api_1 = Artifactpriority.objects.get(
        artifactpriority_name='artifactpriority_api_1'
    )
    # login testuser
    self.client.login(
        username='testuser_artifactpriority_api', password='IktrZIZLncwTbOBD9Bhw'
    )
    # get response
    response = self.client.delete(
        '/api/artifactpriority/'
        + str(artifactpriority_api_1.artifactpriority_id)
        + '/'
    )
    # compare
    self.assertEqual(response.status_code, 405)