~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-13 13:03:03 UTC
  • mfrom: (1767.2.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060613130303-e9de5dbda2e80da6
(robertc, abentley, jameinel, mpool)Various improvements to add performance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
259
259
        self.assertTrue(found_bzrdir)
260
260
        self.assertEqual(expected_dirblocks,
261
261
            [[line[0:3] for line in block] for block in result])
 
262
        # you can search a subdir only, with a supplied prefix.
 
263
        result = []
 
264
        for dirblock in osutils.walkdirs('1dir', '1dir'):
 
265
            result.append(dirblock)
 
266
        self.assertEqual(expected_dirblocks[1:],
 
267
            [[line[0:3] for line in block] for block in result])
 
268