def METHOD_NAME(self):
    response = self.publish(self.folder_path + '/redirect')
    self.assertEqual(response.getStatus(), 302)
    self.assertEqual(response.getHeader('Location'),
                     self.app.absolute_url())