def clone_ticket(self, ticketid):
        """Create a clone of the given ticket id using the clone button."""
        ticket_url = self.url + '/ticket/%s' % ticketid
        tc.go(ticket_url)
        tc.url(ticket_url)
        tc.formvalue('clone', 'clone', 'Clone')
        tc.submit()
        # we should be looking at the newly created ticket
        self.ticketcount += 1
        tc.url(self.url + self.ticketcount % "/ticket/%s")
        return self.ticketcount
dataset/ETHPy150Open edgewall/trac/trac/tests/functional/tester.py/FunctionalTester.clone_ticket/swapped operands of `%`