~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Daniel Watkins
  • Date: 2007-11-17 17:22:08 UTC
  • mto: This revision was merged to the branch mainline in revision 3013.
  • Revision ID: d.m.watkins@warwick.ac.uk-20071117172208-m47tdnnatvm2ir2u
Modified fix as suggested by John on-list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
        out, err = self.run_bzr('uncommit --force -r 2')
228
228
 
229
229
        self.assertEqual(['a2', 'b3', 'c3', 'c4', 'b4'], wt.get_parent_ids())
230
 
 
231
 
    def test_uncommit_nonascii(self):
232
 
        tree = self.make_branch_and_tree('tree')
233
 
        tree.commit(u'\u1234 message')
234
 
        out, err = self.run_bzr('uncommit --force tree', encoding='ascii')
235
 
        self.assertContainsRe(out, r'\? message')