~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_add.py

  • Committer: INADA Naoki
  • Date: 2011-05-17 00:45:09 UTC
  • mfrom: (5875 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5891.
  • Revision ID: songofacandy@gmail.com-20110517004509-q58negjbdjh7t6u1
mergeĀ fromĀ lp:bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
        tree = self.make_branch_and_tree('.')
151
151
        tree.lock_write()
152
152
        tree.add('')
153
 
        self.assertEqual([tree.path2id('')], list(tree))
 
153
        self.assertEqual([tree.path2id('')], list(tree.all_file_ids()))
154
154
        # the root should have been changed to be a new unique root.
155
155
        self.assertNotEqual(inventory.ROOT_ID, tree.path2id(''))
156
156
        tree.unlock()