~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-25 22:27:04 UTC
  • mto: This revision was merged to the branch mainline in revision 1963.
  • Revision ID: john@arbash-meinel.com-20060825222704-441e721d365e38ab
Remove some unicode string notations

Show diffs side-by-side

added added

removed removed

Lines of Context:
755
755
        else:
756
756
            self.build_tree(['wd/' + name for name in tree_names])
757
757
 
758
 
        # XXX: If that intends to check that list_dir gives a list of unicode,
759
 
        # it's buggy because ['a'] == [u'a']. If that's not the intention, then
760
 
        # it's just confusing. -- David Allouche 2006-08-11
761
758
        self.assertEqual(
762
 
            [u'a', u'a%2525b', u'b', u'c', u'c2'], sorted_list(u'.'))
763
 
        self.assertEqual([u'd', u'e'], sorted_list(u'c'))
 
759
            ['a', 'a%2525b', 'b', 'c', 'c2'], sorted_list('.'))
 
760
        self.assertEqual(['d', 'e'], sorted_list('c'))
764
761
 
765
762
        if not t.is_readonly():
766
763
            t.delete('c/d')
769
766
            os.unlink('wd/c/d')
770
767
            os.unlink('wd/b')
771
768
            
772
 
        self.assertEqual([u'a', u'a%2525b', u'c', u'c2'], sorted_list('.'))
773
 
        self.assertEqual([u'e'], sorted_list(u'c'))
 
769
        self.assertEqual(['a', 'a%2525b', 'c', 'c2'], sorted_list('.'))
 
770
        self.assertEqual(['e'], sorted_list('c'))
774
771
 
775
772
        self.assertListRaises(PathError, t.list_dir, 'q')
776
773
        self.assertListRaises(PathError, t.list_dir, 'c/f')