Problem with nosetests in PyCharm EAP
Hello,
I downloaded the EAP of PyCharm as it listed to have initial support for nosetests. Since I am completely new to any of the JetBrains products, it is possible that I'm doing something wrong, so please say so if that is the case.
I created an initial project to test PyCharm a bit, and specifically the nosetests support. I am preparing some dummy tests that explains to our developers the call sequence of tests and the setUp and tearDown functions on different levels. The attached files are my starting point, but it already goes wrong when I run them within PyCharm. From the command line, they work.
Within PyCharm:
/opt/qbase3/bin/python /usr/local/share/pycharm-98.404/helpers/pycharm/utrunner.py /home/rdesmet/Projects/python/testrunner/tests/
Testing started at 12:11 PM ...
Error
Traceback (most recent call last):
File "/opt/qbase3/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/usr/local/share/pycharm-98.404/helpers/pycharm/nose_helper/failure.py", line 17, in runTest
raise self.exc_class(self.exc_val)
ImportError: No module named TestModuleTop
nose_demo.test()
Process finished with exit code 0
Attachment(s):
nose_demo.tgz
请先登录再写评论。