/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 breezy/tests/test_script.py

  • Committer: Martin
  • Date: 2018-11-18 19:48:57 UTC
  • mto: This revision was merged to the branch mainline in revision 7205.
  • Revision ID: gzlist@googlemail.com-20181118194857-mqty4xka790jf934
Fix remaining whitespace lint in codebase

Enables rules W191, W291, W293, and W391 for flake8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    def test_trim_blank_lines(self):
45
45
        """Blank lines are respected, but trimmed at the start and end.
46
46
 
47
 
        Python triple-quoted syntax is going to give stubby/empty blank lines 
48
 
        right at the start and the end.  These are cut off so that callers don't 
 
47
        Python triple-quoted syntax is going to give stubby/empty blank lines
 
48
        right at the start and the end.  These are cut off so that callers don't
49
49
        need special syntax to avoid them.
50
50
 
51
51
        However we do want to be able to match commands that emit blank lines.
186
186
            """)
187
187
 
188
188
    def test_null_output_matches_option(self):
189
 
        """If you want null output to be a wild card, you can pass 
 
189
        """If you want null output to be a wild card, you can pass
190
190
        null_output_matches_anything to run_script"""
191
191
        self.run_script(
192
192
            """
630
630
        # We intentionally provide no input here to test EOF
631
631
        self.run_script("""
632
632
            $ brz shelve -m 'shelve bar'
633
 
            2>Shelve? ([y]es, [N]o, [f]inish, [q]uit): 
 
633
            2>Shelve? ([y]es, [N]o, [f]inish, [q]uit):
634
634
            2>No changes to shelve.
635
635
            """,
636
636
                        null_output_matches_anything=True)