def METHOD_NAME(self):
    """test redirect with appending slash"""
    # login testuser
    self.client.login(
        username='testuser_artifactstatus_api', password='aCTVRIdJ4cyVSkYiJKrM'
    )
    # create url
    destination = urllib.parse.quote('/api/artifactstatus/', safe='/')
    # get response
    response = self.client.get('/api/artifactstatus', follow=True)
    # compare
    self.assertRedirects(
        response, destination, status_code=301, target_status_code=200
    )