From: SourceForge.net <no...@so...> - 2006-07-17 23:56:18
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3825915 By: drmaples code seems ok, but try this: pydev 1.2.1 and below has a bug where some errors are silently ignored and 0 tests are reported as running. check that you do not have any syntax errors in the code that you are importing. the best thing to do is to change the code in runfiles.py to look like the code below. (this is fixed in the next ver of pydev) code located here: <ECLIPSE_INSTALL_DIR>/plugins/org.python.pydev.debug_1.2.1/pysrc/runfiles.py try: module = ImportModule(ModuleName(name, system_path)) tests = loader.loadTestsFromModule(module) alltests.append(tests) except Exception, msg: raise # <------ add me this #ok, unable to load the module (probably has not __init__.py in its folder structure) pass ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |