def METHOD_NAME(self):
    """test redirect with appending slash"""
    # get object
    systemstatus_api_1 = Systemstatus.objects.get(
        systemstatus_name='systemstatus_api_1'
    )
    # login testuser
    self.client.login(
        username='testuser_systemstatus_api', password='aCTVRIdJ4cyVSkYiJKrM'
    )
    # create url
    destination = urllib.parse.quote(
        '/api/systemstatus/' + str(systemstatus_api_1.systemstatus_id) + '/',
        safe='/',
    )
    # get response
    response = self.client.get(
        '/api/systemstatus/' + str(systemstatus_api_1.systemstatus_id), follow=True
    )
    # compare
    self.assertRedirects(
        response, destination, status_code=301, target_status_code=200
    )