/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/test_osutils.py

  • Committer: John Arbash Meinel
  • Date: 2011-01-12 15:50:12 UTC
  • mfrom: (5598 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5599.
  • Revision ID: john@arbash-meinel.com-20110112155012-i8gi0bwj9krnjyxu
Merge bzr.dev 5598 for NEWS/bzr-2.3.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
1988
1988
        self.overrideEnv('BZR_COLUMNS', '12')
1989
1989
        self.assertEqual(12, osutils.terminal_width())
1990
1990
 
 
1991
    def test_BZR_COLUMNS_0_no_limit(self):
 
1992
        self.overrideEnv('BZR_COLUMNS', '0')
 
1993
        self.assertEqual(None, osutils.terminal_width())
 
1994
 
1991
1995
    def test_falls_back_to_COLUMNS(self):
1992
1996
        self.overrideEnv('BZR_COLUMNS', None)
1993
1997
        self.assertNotEqual('42', os.environ['COLUMNS'])