wrap long lines, and tolerate various-width wrappings of the --help output 170/head
authorBrian Warner <warner@lothar.com>
Tue, 26 May 2015 18:32:14 +0000 (11:32 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 26 May 2015 18:40:17 +0000 (11:40 -0700)
commit45ebbbf44b8833c4f15670419f35da3ce60dde3e
tree6865f54918e661b70aeb0a354c10a4122ad828a2
parent8f41713fe9cd08373dcfe74ee1bd6721e80b3427
wrap long lines, and tolerate various-width wrappings of the --help output

test_cli.Help was too sensitive to the way that the --help output was
wrapped, which caused failures on travis when COLUMNS= was set low and
the expected strings were split across separate lines.
src/allmydata/scripts/startstop_node.py
src/allmydata/test/test_cli.py