~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_config.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-12-23 00:59:10 UTC
  • mfrom: (4794.1.21 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20091223005910-zatr8ajlw8ul6d6s
(robertc) Add testtools 0.9.2 as a hard dependency to run the test
        suite, improving debug output on selftest --parallel,
        reducing code size and adding support for assertThat. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1641
1641
        self.assertEquals(entered_password,
1642
1642
                          conf.get_password('ssh', 'bar.org', user='jim'))
1643
1643
        self.assertContainsRe(
1644
 
            self._get_log(keep_log_file=True),
 
1644
            self.get_log(),
1645
1645
            'password ignored in section \[ssh with password\]')
1646
1646
 
1647
1647
    def test_ssh_without_password_doesnt_emit_warning(self):
1666
1666
        # No warning shoud be emitted since there is no password. We are only
1667
1667
        # providing "user".
1668
1668
        self.assertNotContainsRe(
1669
 
            self._get_log(keep_log_file=True),
 
1669
            self.get_log(),
1670
1670
            'password ignored in section \[ssh with password\]')
1671
1671
 
1672
1672
    def test_uses_fallback_stores(self):