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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to