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