def upgrade_environment(self):
        load_workflow_config_snippet(self.config, 'original-workflow.ini')
        self.config.save()
        self.actions = self.get_all_actions()
        info_message = """

==== Upgrade Notice ====

The ticket Workflow is now configurable.

Your environment has been upgraded, but configured to use the original
workflow. It is recommended that you look at changing this configuration to use
basic-workflow.

Read TracWorkflow for more information (don't forget to 'wiki upgrade' as well)

"""
        self.log.info(info_message.replace('\n', ' ').replace('==', ''))
        print(info_message)

    # ITicketActionController methods
Test if saving a visualization and restoring it works.
dataset/ETHPy150Open edgewall/trac/trac/ticket/default_workflow.py/ConfigurableTicketWorkflow.upgrade_environment--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_image_data_probe.py/TestImageDataProbe.test_save_and_restore