/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Vincent Ladeuil
  • Date: 2007-09-24 15:01:26 UTC
  • mfrom: (2853 +trunk)
  • mto: (2885.1.1 140432)
  • mto: This revision was merged to the branch mainline in revision 2886.
  • Revision ID: v.ladeuil+lp@free.fr-20070924150126-nll7i0385kisklyj
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
477
477
        #       osutils.getcwd() renormalize the path.
478
478
        self.assertEndsWith(osutils._win32_getcwd(), u'mu-\xb5')
479
479
 
 
480
    def test_minimum_path_selection(self):
 
481
        self.assertEqual(set(),
 
482
            osutils.minimum_path_selection([]))
 
483
        self.assertEqual(set(['a', 'b']),
 
484
            osutils.minimum_path_selection(['a', 'b']))
 
485
        self.assertEqual(set(['a/', 'b']),
 
486
            osutils.minimum_path_selection(['a/', 'b']))
 
487
        self.assertEqual(set(['a/', 'b']),
 
488
            osutils.minimum_path_selection(['a/c', 'a/', 'b']))
 
489
 
480
490
    def test_mkdtemp(self):
481
491
        tmpdir = osutils._win32_mkdtemp(dir='.')
482
492
        self.assertFalse('\\' in tmpdir)