~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_add.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-08 00:24:38 UTC
  • mfrom: (1907.1.9 no-special-root)
  • Revision ID: pqm@pqm.ubuntu.com-20060808002438-4b8baf2d9282e154
Represent root entries using InventoryDirectory, not RootEntry

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([('', 'root_directory'), (u'\xe5', 'file')],
 
231
            self.assertEqual([('', '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([('', 'root_directory'), (u'\xe5', 'file')],
 
243
            self.assertEqual([('', 'directory'), (u'\xe5', 'file')],
244
244
                    [(path, ie.kind) for path,ie in 
245
245
                        self.wt.inventory.iter_entries()])
246
246
        finally: