/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: 2007-07-04 08:49:15 UTC
  • mto: This revision was merged to the branch mainline in revision 2588.
  • Revision ID: mbp@sourcefrog.net-20070704084915-g3nppvuq92xjjcux
Remove unnecessary retcode=0 to run_bzr calls

Show diffs side-by-side

added added

removed removed

Lines of Context:
433
433
        """
434
434
        process = self.start_bzr_subprocess(['--versionn'])
435
435
        self.assertRaises(self.failureException, self.finish_bzr_subprocess,
436
 
                          process, retcode=0)
 
436
                          process)
437
437
        
438
438
    def test_start_and_stop_bzr_subprocess_send_signal(self):
439
439
        """finish_bzr_subprocess raises self.failureException if the retcode is
461
461
class TestRunBzrError(ExternalBase):
462
462
 
463
463
    def test_run_bzr_error(self):
464
 
        out, err = self.run_bzr_error(['^$'], ['rocks'], retcode=0)
 
464
        out, err = self.run_bzr_error(['^$'], ['rocks'])
465
465
        self.assertEqual(out, 'It sure does!\n')
466
466
 
467
467
        out, err = self.run_bzr_error(["bzr: ERROR: foobarbaz is not versioned"],