~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/script.py

  • Committer: John Arbash Meinel
  • Date: 2011-04-20 15:06:17 UTC
  • mto: This revision was merged to the branch mainline in revision 5836.
  • Revision ID: john@arbash-meinel.com-20110420150617-i41caxgemg32tq1r
Start adding tests that _worth_saving_limit works as expected.

Show diffs side-by-side

added added

removed removed

Lines of Context:
481
481
    def setUp(self):
482
482
        super(TestCaseWithMemoryTransportAndScript, self).setUp()
483
483
        self.script_runner = ScriptRunner()
484
 
        # FIXME: See shelf_ui.Shelver._char_based. This allow using shelve in
485
 
        # scripts while providing a line-based input (better solution in
486
 
        # progress). -- vila 2011-09-28
487
 
        self.overrideEnv('INSIDE_EMACS', '1')
488
484
 
489
485
    def run_script(self, script, null_output_matches_anything=False):
490
486
        return self.script_runner.run_script(self, script, 
515
511
    def setUp(self):
516
512
        super(TestCaseWithTransportAndScript, self).setUp()
517
513
        self.script_runner = ScriptRunner()
518
 
        # FIXME: See shelf_ui.Shelver._char_based. This allow using shelve in
519
 
        # scripts while providing a line-based input (better solution in
520
 
        # progress). -- vila 2011-09-28
521
 
        self.overrideEnv('INSIDE_EMACS', '1')
522
514
 
523
515
    def run_script(self, script, null_output_matches_anything=False):
524
516
        return self.script_runner.run_script(self, script,