~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_exceptions.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-20 12:37:24 UTC
  • mfrom: (5340.13.1 2.4-613247-cleanup-tests)
  • Revision ID: pqm@pqm.ubuntu.com-20110520123724-hamrkqa9gtyazxyl
(jameinel) Cleanup the log infrastructure to reduce the chance of
 self-cycles. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
            check = self.assertContainsRe
124
124
        else:
125
125
            check = self.assertNotContainsRe
126
 
        check(self.get_log(), 'WARNING.*bzr upgrade')
 
126
        check(self._get_log(keep_log_file=True), 'WARNING.*bzr upgrade')
127
127
 
128
128
    def test_repository_deprecation_warning(self):
129
129
        """Old formats give a warning"""