Unable to run django app unit tests in django 1.6b2
Django 1.6 introduces a new test runner that doesn't seem to work with PyCharm's django_test_runner.py.
Trying to run tests through a PyCharm run configuration fails with the following traceback:
Traceback (most recent call last): File "/home/user/software/pycharm-2.7/helpers/pycharm/django_test_manage.py", line 18, in <module> import django_test_runner File "/home/user/software/pycharm-2.7/helpers/pycharm/django_test_runner.py", line 7, in <module> from django.test.simple import settings ImportError: cannot import name settings
I know that django 1.6 is not released yet, but wondering if there is any work around...
Trying to run tests through a PyCharm run configuration fails with the following traceback:
Traceback (most recent call last): File "/home/user/software/pycharm-2.7/helpers/pycharm/django_test_manage.py", line 18, in <module> import django_test_runner File "/home/user/software/pycharm-2.7/helpers/pycharm/django_test_runner.py", line 7, in <module> from django.test.simple import settings ImportError: cannot import name settings
I know that django 1.6 is not released yet, but wondering if there is any work around...
Please sign in to leave a comment.
Please try the latest PyCharm 3.0 EAP version: http://confluence.jetbrains.com/display/PYH/JetBrains+PyCharm+Preview+%28EAP%29.