aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2008-11-28 10:15:15 -0500
committerW. Trevor King <wking@drexel.edu>2008-11-28 10:15:15 -0500
commit0f81920080f550af3c8df6fc1d16e57cc7f432e1 (patch)
tree3871a91c2de83d7b56d05ea5818cfc3b22586c3b /test.py
parent01bf5c7970b3d7cb872902f5a5298b489da3defb (diff)
downloadbugseverywhere-0f81920080f550af3c8df6fc1d16e57cc7f432e1.tar.gz
Added more helpful error message for libbe modules missing test suites.
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.py b/test.py
index bf57d1e..ef876ba 100644
--- a/test.py
+++ b/test.py
@@ -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))