/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/blackbox/test_selftest.py

  • Committer: Martin Pool
  • Date: 2006-12-18 09:26:03 UTC
  • mto: This revision was merged to the branch mainline in revision 2194.
  • Revision ID: mbp@sourcefrog.net-20061218092603-prox89u0kgb0d70t
test_clean_output: don't depend on directories being cleaned up in order.

On some systems files aren't listed in alphabetical order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
        out,err = self.run_bzr_captured(['selftest','--clean-output'],
480
480
                                        working_dir=root)
481
481
 
482
 
        self.assertEquals('delete directory: test0000.tmp\n'
483
 
                          'delete directory: test0001.tmp\n',
484
 
                          out)
 
482
        self.assertEquals(['delete directory: test0000.tmp',
 
483
                          'delete directory: test0001.tmp'],
 
484
                          sorted(out.splitlines()))
485
485
        self.assertEquals('', err)
486
486
 
487
487
        after = os.listdir(root)