/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_config.py

  • Committer: Jelmer Vernooij
  • Date: 2017-10-27 09:03:47 UTC
  • mfrom: (6798.1.1 escaping)
  • Revision ID: jelmer@jelmer.uk-20171027090347-yxa0xg7rwftar05a
Merge lp:~jelmer/brz/escaping.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4504
4504
                          conf.get_password('ssh', 'bar.org', user='jim'))
4505
4505
        self.assertContainsRe(
4506
4506
            self.get_log(),
4507
 
            'password ignored in section \[ssh with password\]')
 
4507
            'password ignored in section \\[ssh with password\\]')
4508
4508
 
4509
4509
    def test_ssh_without_password_doesnt_emit_warning(self):
4510
4510
        conf = config.AuthenticationConfig(_file=BytesIO(b"""
4524
4524
        # providing "user".
4525
4525
        self.assertNotContainsRe(
4526
4526
            self.get_log(),
4527
 
            'password ignored in section \[ssh with password\]')
 
4527
            'password ignored in section \\[ssh with password\\]')
4528
4528
 
4529
4529
    def test_uses_fallback_stores(self):
4530
4530
        self.overrideAttr(config, 'credential_store_registry',