[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/scripts/zeopack.test Get consistent optparse help regardless of actual terminal output

Jim Fulton jim at zope.com
Fri Feb 5 12:14:29 EST 2010


Log message for revision 108793:
  Get consistent optparse help regardless of actual terminal output
  to avoid spurious test failures.
  

Changed:
  U   ZODB/trunk/src/ZEO/scripts/zeopack.test

-=-
Modified: ZODB/trunk/src/ZEO/scripts/zeopack.test
===================================================================
--- ZODB/trunk/src/ZEO/scripts/zeopack.test	2010-02-05 16:13:49 UTC (rev 108792)
+++ ZODB/trunk/src/ZEO/scripts/zeopack.test	2010-02-05 17:14:29 UTC (rev 108793)
@@ -44,6 +44,7 @@
 
 If we call it with no arguments, we get help:
 
+>>> import os; os.environ['COLUMNS'] = '80' # for consistent optparse output
 >>> main([], 'zeopack')
 Usage: zeopack [options] [servers]
 <BLANKLINE>



More information about the Zodb-checkins mailing list