~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2009-12-16 22:29:31 UTC
  • mto: This revision was merged to the branch mainline in revision 4920.
  • Revision ID: robertc@robertcollins.net-20091216222931-wbbn5ey4mwmpatwd
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
            os.mkdir('foo')
56
56
            bzrdir.BzrDirFormat5().initialize('foo')
57
57
            out, err = self.run_bzr("status foo")
58
 
            log = u"".join(self.getDetails()['log'].iter_text())
59
 
            self.assertContainsRe(log, "bzr upgrade")
 
58
            self.assertContainsRe(self.get_log(), "bzr upgrade")
60
59
        finally:
61
60
            repository._deprecation_warning_done = True
62
61