I'm trying to test my django project, I have an app with a very classic layout like so :
project
├── __init__.py
└── app
├── __init__.py
├── models.py
├── tests
│ ├── __init__.py
│ ├── models.py
│ └── views.py
└── views.py
with manage.py in the parent directory of manage.py (according to django 1.4 new layout).
in tests/__init__.py I have something like that :
from project.app.tests.models import *
from project.app.tests.views import *
in tests/models.py I have classic python tests (which work just fine), and in tests/views.py I have selenium tests.
Now when I do :
python manage.py test project/app/tests/views.py
The selenium tests work without any problem (well they fail for now but I'm working on that). BUT when I do :
python manage.py test project/app
Some regular tests are launch correctly but at some point, firefox is launch and everything just freeze, no more test are launch, nothing is happening in firefox nor in the terminal.
I would add that my regular tests derive from unittest.TestCase (not django.test.TestCase), that my selenium tests derive from django.test.LiveServerTestCase, and that I'm using django 1.4.0, nose 1.2.1, django-nose 1.1 and selenium 2.26.0.
Any clue ?