projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01bf5c7
)
Added more helpful error message for libbe modules missing test suites.
author
W. Trevor King
<wking@drexel.edu>
Fri, 28 Nov 2008 15:15:15 +0000
(10:15 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 28 Nov 2008 15:15:15 +0000
(10:15 -0500)
test.py
patch
|
blob
|
history
diff --git
a/test.py
b/test.py
index bf57d1ec0d015083586432d3b89e133d8e7560e6..ef876bacad8846498ac7b64100bc19e6dd582f8a 100644
(file)
--- 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))