def METHOD_NAME(self):
    """PUT is forbidden"""
    # get object
    notestatus_api_1 = Notestatus.objects.get(notestatus_name='notestatus_api_1')
    # login testuser
    self.client.login(
        username='testuser_notestatus_api', password='MacT9WxkBEz2w5a6B0v6'
    )
    # create url
    destination = urllib.parse.quote(
        '/api/notestatus/' + str(notestatus_api_1.notestatus_id) + '/', safe='/'
    )
    # create PUT string
    putstring = {"notestatus_name": "new_notestatus_api_1"}
    # get response
    response = self.client.put(
        destination, data=putstring, content_type='application/json'
    )
    # compare
    self.assertEqual(response.status_code, 405)