~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Neil Martinsen-Burrell
  • Date: 2011-01-10 05:26:56 UTC
  • mto: (5597.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5598.
  • Revision ID: nmb@wartburg.edu-20110110052656-q89mlw9qjxlqmmd3
allow BZR_COLUMNS to be 0

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        self.assertEquals(dash_help, qmark_long)
105
105
        self.assertEquals(dash_help, qmark_cmds)
106
106
 
 
107
    def test_help_width_zero(self):
 
108
        self.overrideEnv('BZR_COLUMNS', '0')
 
109
        self.run_bzr('help commands')
 
110
 
107
111
    def test_hidden(self):
108
112
        help_commands = self.run_bzr('help commands')[0]
109
113
        help_hidden = self.run_bzr('help hidden-commands')[0]