patman: Correct unit tests to run correctly
authorSimon Glass <sjg@chromium.org>
Thu, 28 Aug 2014 15:43:35 +0000 (09:43 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 5 Sep 2014 19:40:41 +0000 (13:40 -0600)
commite752edcb6b22b2c42c8064d66a93f0910cac6fef
tree13a11ab0b2beb9930a917ba6e04b09b8d53bdbf5
parent6ba5737ff06f09ad980cb1feee059c12bf89a7ff
patman: Correct unit tests to run correctly

It seems that doctest behaves differently now, and some of the unit tests
do not run. Adjust the tests to work correctly.

 ./tools/patman/patman --test
<unittest.result.TestResult run=10 errors=0 failures=0>

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/gitutil.py
tools/patman/patchstream.py
tools/patman/terminal.py
tools/patman/test.py