def test_3(self):
     """
     print_last_page=True
     print_index=True
     """
     tests.change_preferences(
         plugin_name = "back_links",
         print_last_page=True,
         print_index=True, index_url="URL", index="TITLE"
     )
     #self.create_link_snapshot()
     snapshot = {u'/1_AAA/': [('URL', 'TITLE'), ('/1_AAA/', '1_AAA')],
          u'/1_AAA/1_1_BBB/': [('URL', 'TITLE'),
                               ('/1_AAA/', '1_AAA'),
                               ('/1_AAA/1_1_BBB/', '1_1_BBB')],
          u'/1_AAA/1_2_BBB/': [('URL', 'TITLE'),
                               ('/1_AAA/', '1_AAA'),
                               ('/1_AAA/1_2_BBB/', '1_2_BBB')],
          u'/1_AAA/1_2_BBB/1_2_1_CCC/': [('URL', 'TITLE'),
                                         ('/1_AAA/', '1_AAA'),
                                         ('/1_AAA/1_2_BBB/', '1_2_BBB'),
                                         ('/1_AAA/1_2_BBB/1_2_1_CCC/', '1_2_1_CCC')],
          u'/1_AAA/1_2_BBB/1_2_2_CCC/': [('URL', 'TITLE'),
                                         ('/1_AAA/', '1_AAA'),
                                         ('/1_AAA/1_2_BBB/', '1_2_BBB'),
                                         ('/1_AAA/1_2_BBB/1_2_2_CCC/', '1_2_2_CCC')],
          u'/2_DDD/': [('URL', 'TITLE'), ('/2_DDD/', '2_DDD')],
          u'/2_DDD/2_1_EEE/': [('URL', 'TITLE'),
                               ('/2_DDD/', '2_DDD'),
                               ('/2_DDD/2_1_EEE/', '2_1_EEE')],
          u'/2_DDD/2_2_EEE/': [('URL', 'TITLE'),
                               ('/2_DDD/', '2_DDD'),
                               ('/2_DDD/2_2_EEE/', '2_2_EEE')]}
     self.link_snapshot_test(snapshot)
 def _change_preferences(self, bool):
     """
     Change the system_settings auto_shortcut preferences
     """
     tests.change_preferences(
         plugin_name = "system_settings", auto_shortcuts = bool
     )