~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_non_ascii.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-13 18:38:58 UTC
  • mfrom: (1863 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1869.
  • Revision ID: john@arbash-meinel.com-20060713183858-ebf4aa1f9ef8bb6e
[merge] bzr.dev 1863

Show diffs side-by-side

added added

removed removed

Lines of Context:
447
447
        bzr = self.run_bzr_decode
448
448
 
449
449
        txt = bzr('ls')
450
 
        self.assertEqual(['a', 'b', self.info['filename']],
451
 
                         txt.splitlines())
 
450
        self.assertEqual(sorted(['a', 'b', self.info['filename']]),
 
451
                         sorted(txt.splitlines()))
452
452
        txt = bzr('ls', '--null')
453
 
        self.assertEqual(['a', 'b', self.info['filename'], ''],
454
 
                         txt.split('\0'))
 
453
        self.assertEqual(sorted(['', 'a', 'b', self.info['filename']]),
 
454
                         sorted(txt.split('\0')))
455
455
 
456
456
        txt = bzr('ls', encoding='ascii', retcode=3)
457
457
        txt = bzr('ls', '--null', encoding='ascii', retcode=3)