From 0f81920080f550af3c8df6fc1d16e57cc7f432e1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 28 Nov 2008 10:15:15 -0500 Subject: [PATCH] Added more helpful error message for libbe modules missing test suites. --- test.py | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.26.2