diff options
author | W. Trevor King <wking@drexel.edu> | 2008-11-28 10:15:15 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-11-28 10:15:15 -0500 |
commit | 0f81920080f550af3c8df6fc1d16e57cc7f432e1 (patch) | |
tree | 3871a91c2de83d7b56d05ea5818cfc3b22586c3b /test.py | |
parent | 01bf5c7970b3d7cb872902f5a5298b489da3defb (diff) | |
download | bugseverywhere-0f81920080f550af3c8df6fc1d16e57cc7f432e1.tar.gz |
Added more helpful error message for libbe modules missing test suites.
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,8 @@ if len(sys.argv) > 1: if mod is not None and hasattr(mod, "suite"): suite.addTest(mod.suite) match = True + else: + print "Module \"%s\" has no test suite" % submodname mod = plugin.get_plugin("becommands", submodname) if mod is not None: suite.addTest(doctest.DocTestSuite(mod)) |