~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/testing.txt

  • Committer: Vincent Ladeuil
  • Date: 2010-11-08 09:58:04 UTC
  • mto: (5532.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5532.
  • Revision ID: v.ladeuil+lp@free.fr-20101108095804-uk34qhoyr7tfw4ay
s/blank_output/null_output/

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
 
475
475
To avoid having to specify "-q" for all commands whose output is
476
476
irrelevant, the run_script() method may be passed the keyword argument
477
 
``blank_output_matches_anything=True``.  For example::
 
477
``null_output_matches_anything=True``.  For example::
478
478
 
479
 
    def test_ignoring_blank_output(self):
 
479
    def test_ignoring_null_output(self):
480
480
        self.run_script("""
481
481
            $ bzr init
482
482
            $ bzr ci -m 'first revision' --unchanged
483
483
            $ bzr log --line
484
484
            1: ...
485
 
            """, blank_output_matches_anything=True)
 
485
            """, null_output_matches_anything=True)
486
486
           
487
487
 
488
488
Import tariff tests