~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests.py

  • Committer: Michael Ellerman
  • Date: 2006-02-06 13:52:53 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-20060206135253-46d07a6db0239dbb
For the moment at least storing scads of stuff under .bzr isn't really
supported by the bzr API, so move the shelf back out of .bzr into .shelf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
            self.assertEqual(file('test_file').read(), self.ORIGINAL)
60
60
 
61
61
            # Check the shelf is right
62
 
            shelf = b._transport.get('.bzr/x-shelf/default/00').read()
 
62
            shelf = b._transport.get('.shelf/default/00').read()
63
63
            self.assertEqual(shelf, self.DIFF_1)
64
64
 
65
65
            # Unshelve
85
85
        # Shelve the changes
86
86
        self.run_bzr('shelve', retcode=3)
87
87
 
88
 
        if b._transport.has('.bzr/x-shelf/default/00'):
 
88
        if b._transport.has('.shelf/default/00'):
89
89
            self.fail("Shelf exists, but it shouldn't")
90
90
 
91
91
    def test_shelf_with_revision(self):