patman: Add settings to the list of modules to doctest

The settings modules now has doctests, so run them.

Signed-off-by: Doug Anderson <dianders@chromium.org>
This commit is contained in:
Doug Anderson 2012-12-03 14:43:19 +00:00 committed by Simon Glass
parent a1dcee84c9
commit 656cffeb49
1 changed files with 3 additions and 2 deletions

View File

@ -85,8 +85,9 @@ if options.test:
result = unittest.TestResult()
suite.run(result)
suite = doctest.DocTestSuite('gitutil')
suite.run(result)
for module in ['gitutil', 'settings']:
suite = doctest.DocTestSuite(module)
suite.run(result)
# TODO: Surely we can just 'print' result?
print result