~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/teststatus.py

  • Committer: Martin Pool
  • Date: 2005-08-30 06:10:39 UTC
  • Revision ID: mbp@sourcefrog.net-20050830061039-1d0347fb236c39ad
- clean up some code in revision.py

- move all exceptions to bzrlib.errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
        tof = StringIO()
42
42
        self.build_tree(['hello.c', 'bye.c'])
43
 
        b.add_pending_merge('pending@pending-0-0')
44
43
        show_status(b, to_file=tof)
45
44
        tof.seek(0)
46
45
        self.assertEquals(tof.readlines(),
47
46
                          ['unknown:\n',
48
47
                           '  bye.c\n',
49
48
                           '  hello.c\n',
50
 
                           'pending merges:\n',
51
 
                           '  pending@pending-0-0\n'
52
49
                           ])
53
50