~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_add.py

  • Committer: Robert Collins
  • Date: 2006-07-24 04:40:06 UTC
  • mto: (1852.7.2 split-tree-source)
  • mto: This revision was merged to the branch mainline in revision 1890.
  • Revision ID: robertc@robertcollins.net-20060724044006-faa99aee0dff9ae9
Finish updating iter_entries change to make all tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
        osutils.normalized_filename = osutils._accessible_normalized_filename
229
229
        try:
230
230
            smart_add_tree(self.wt, [u'a\u030a'])
231
 
            self.assertEqual([(u'\xe5', 'file')],
 
231
            self.assertEqual([('', 'root_directory'), (u'\xe5', 'file')],
232
232
                    [(path, ie.kind) for path,ie in 
233
233
                        self.wt.inventory.iter_entries()])
234
234
        finally:
240
240
        osutils.normalized_filename = osutils._accessible_normalized_filename
241
241
        try:
242
242
            smart_add_tree(self.wt, [])
243
 
            self.assertEqual([(u'\xe5', 'file')],
 
243
            self.assertEqual([('', 'root_directory'), (u'\xe5', 'file')],
244
244
                    [(path, ie.kind) for path,ie in 
245
245
                        self.wt.inventory.iter_entries()])
246
246
        finally: