~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-01 23:46:31 UTC
  • mfrom: (3671.1.1 lucas-utf8fix)
  • Revision ID: pqm@pqm.ubuntu.com-20080901234631-p34773b45k4j4l92
(Lukáš Lalinský) Fix test_pending_specific_files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
        self.build_tree_contents([('alt/a', 'content of a\nfrom alt\n')])
453
453
        alt_id = alt.commit('alt')
454
454
        tree.merge_from_branch(alt.branch)
455
 
        output = StringIO()
 
455
        output = self.make_utf8_encoded_stringio()
456
456
        show_tree_status(tree, to_file=output)
457
457
        self.assertContainsRe(output.getvalue(), 'pending merges:')
458
458
        out, err = self.run_bzr('status tree/a')