~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests.py

  • Committer: Michael Ellerman
  • Date: 2006-02-11 03:43:34 UTC
  • mto: (0.1.73 shelf-tmp)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20060211034334-bb98844557509512
Fix test now that we have a message always.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
            # Check the shelf is right
63
63
            shelf = open(os.path.join(b.base, '.shelf/default/00')).read()
 
64
            shelf = shelf[shelf.index('\n') + 1:] # skip the message
64
65
            self.assertEqual(shelf, self.DIFF_1)
65
66
 
66
67
            # Unshelve