~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Robert Collins
  • Date: 2006-06-13 12:55:45 UTC
  • mfrom: (1757.2.16 add)
  • mto: This revision was merged to the branch mainline in revision 1769.
  • Revision ID: robertc@robertcollins.net-20060613125545-cc77adde61a471bf
Merge add performance improvements.

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