def METHOD_NAME(self):
    """DELETE is forbidden"""
    # get object
    taskname_api_1 = Taskname.objects.get(taskname_name='taskname_api_1')
    # login testuser
    self.client.login(
        username='testuser_taskname_api', password='JUsV9RlTdQkAjLgB4hD1'
    )
    # get response
    response = self.client.delete(
        '/api/taskname/' + str(taskname_api_1.taskname_id) + '/'
    )
    # compare
    self.assertEqual(response.status_code, 405)