def METHOD_NAME(self):
    """PUT is allowed"""
    # get object
    reason_api_1 = Reason.objects.get(reason_name='reason_api_1')
    # login testuser
    self.client.login(
        username='testuser_reason_api', password='tvjnIPBlhP9P3ixDHVE7'
    )
    # create url
    destination = urllib.parse.quote(
        '/api/reason/' + str(reason_api_1.reason_id) + '/', safe='/'
    )
    # create PUT string
    putstring = {"reason_name": "new_reason_api_1"}
    # get response
    response = self.client.put(
        destination, data=putstring, content_type='application/json'
    )
    # compare
    self.assertEqual(response.status_code, 200)