def test_action_with_state_change(self):
        self.env.config.set('ticket-workflow', 'embiggen', '* -> big')

        first_ticket_id = self._insert_ticket('Test 1', reporter='joe',
                                              status='small')
        second_ticket_id = self._insert_ticket('Test 2', reporter='joe')
        selected_tickets = [first_ticket_id, second_ticket_id]

        batch = BatchModifyModule(self.env)
        batch._save_ticket_changes(self.req, selected_tickets, {}, '',
                                   'embiggen')

        self.assertFieldChanged(first_ticket_id, 'status', 'big')
        self.assertFieldChanged(second_ticket_id, 'status', 'big')
Generate a cobertura-compliant XML coverage report in the current working
dataset/ETHPy150Open edgewall/trac/trac/ticket/tests/batch.py/BatchModifyTestCase.test_action_with_state_change--crossover with--dataset/ETHPy150Open girder/girder/tests/js_coverage_tool.py/report