/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_selftest.py

  • Committer: Aaron Bentley
  • Date: 2007-06-28 18:52:13 UTC
  • mfrom: (2545.3.2 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 2562.
  • Revision ID: abentley@panoramicfeedback.com-20070628185213-6kbbwchwb4zb19ux
Merge check_shape fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1538
1538
            'TestSelftestFiltering.test_filter_suite_by_re')
1539
1539
        self.assertEquals(sorted(self.all_names), sorted(sorted_names))
1540
1540
 
 
1541
 
 
1542
class TestCheckInventoryShape(TestCaseWithTransport):
 
1543
 
 
1544
    def test_check_inventory_shape(self):
 
1545
      files = ['a', 'b/', 'b/c']
 
1546
      tree = self.make_branch_and_tree('.')
 
1547
      self.build_tree(files)
 
1548
      tree.add(files)
 
1549
      tree.lock_read()
 
1550
      try:
 
1551
        self.check_inventory_shape(tree.inventory, files)
 
1552
      finally:
 
1553
        tree.unlock()
 
1554