~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: v.ladeuil+lp at free
  • Date: 2006-11-30 14:32:23 UTC
  • mto: This revision was merged to the branch mainline in revision 2160.
  • Revision ID: v.ladeuil+lp@free.fr-20061130143223-3g0rtx2icgw51iug
Make the test compatible with windows.

* bzrlib/tests/blackbox/test_selftest.py:
(TestBzrSubprocess.test_start_and_stop_working_dir): Make windows
produce universal newlines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
438
438
        self.make_branch_and_tree('one')
439
439
 
440
440
        process = self.start_bzr_subprocess(['root'], working_dir='one')
441
 
        result = self.finish_bzr_subprocess(process)
 
441
        result = self.finish_bzr_subprocess(process, universal_newlines=True)
442
442
        self.assertEndsWith(result[0], 'one\n')
443
443
        self.assertEqual('', result[1])
444
 
        
 
444
 
445
445
 
446
446
class TestRunBzrError(ExternalBase):
447
447