/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_ui.py

  • Committer: Jelmer Vernooij
  • Date: 2017-10-27 00:18:42 UTC
  • mto: This revision was merged to the branch mainline in revision 6799.
  • Revision ID: jelmer@jelmer.uk-20171027001842-o77sekj0g2t2zwbn
Properly escape backslashes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
259
259
        self.assertEqual('', ui.stdout.getvalue())
260
260
        self.assertContainsRe(
261
261
            ui.stderr.getvalue(),
262
 
            "^Doing on-the-fly conversion from RepositoryFormat2a\(\) to "
263
 
                "RemoteRepositoryFormat\(_network_name="
264
 
                "b?'Bazaar RepositoryFormatKnitPack5 \(bzr 1.6\)\\\\n'\)\.\n"
 
262
            "^Doing on-the-fly conversion from RepositoryFormat2a\\(\\) to "
 
263
                "RemoteRepositoryFormat\\(_network_name="
 
264
                "b?'Bazaar RepositoryFormatKnitPack5 \\(bzr 1.6\\)\\\\n'\\)\\.\n"
265
265
            "This may take some time. Upgrade the repositories to "
266
 
                "the same format for better performance\.\n$")
 
266
                "the same format for better performance\\.\n$")
267
267
        # and now with it suppressed please
268
268
        ui = ui_testing.TextUIFactory()
269
269
        ui.suppressed_warnings.add('cross_format_fetch')