From: W. Trevor King Date: Fri, 28 Nov 2008 15:15:15 +0000 (-0500) Subject: Added more helpful error message for libbe modules missing test suites. X-Git-Tag: 1.0.0~95 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f81920080f550af3c8df6fc1d16e57cc7f432e1;p=be.git Added more helpful error message for libbe modules missing test suites. --- 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))