/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-06-28 19:44:10 UTC
  • mfrom: (2561.1.2 Aaron's integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070628194410-pikmj08nsn9sci9h
Add a test for check_inventory_shape and fix tests (James Westby)

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
        wt.lock_read()
227
227
        try:
228
228
            self.check_inventory_shape(wt.read_working_inventory(),
229
 
                                       ['a', 'a/hello', 'b'])
 
229
                                       ['a/', 'a/hello', 'b/'])
230
230
        finally:
231
231
            wt.unlock()
232
232
 
236
236
        wt.lock_read()
237
237
        try:
238
238
            self.check_inventory_shape(wt.read_working_inventory(),
239
 
                                       ['a', 'a/hello', 'a/b'])
 
239
                                       ['a/', 'a/hello', 'a/b/'])
240
240
            self.check_inventory_shape(b.repository.get_revision_inventory(r3),
241
 
                                       ['a', 'a/hello', 'a/b'])
 
241
                                       ['a/', 'a/hello', 'a/b/'])
242
242
        finally:
243
243
            wt.unlock()
244
244
 
248
248
        wt.lock_read()
249
249
        try:
250
250
            self.check_inventory_shape(wt.read_working_inventory(),
251
 
                                       ['a', 'a/b/hello', 'a/b'])
 
251
                                       ['a/', 'a/b/hello', 'a/b/'])
252
252
        finally:
253
253
            wt.unlock()
254
254