weluse / django-nose-selenium

Nose plugin for running selenium tests with django support.
http://github.com/weluse/django-nose-selenium
BSD 3-Clause "New" or "Revised" License
43 stars 5 forks source link

Test server not launching on tests #6

Open gregtap opened 13 years ago

gregtap commented 13 years ago

Hello,

When I do python manage.py test, I can see firefox openning two windows but the second one gives me an Unable to connect on 127.0.0.1:8000

As if the test did not lunch the manage.py runserver by itself.

If I launch manage.py runserve on an other terminal and run my tests it works.

Is that the normal behavior ?

passy commented 13 years ago

Did you run the test with either the --with-cherrypyliveserver or --with-djangoliveserver flag?

pelletier commented 13 years ago

Yes, with --with-djangoliveserver (we work together). We are trying hard to set up Selenium tests for our Django application but no success for now :(

passy commented 13 years ago

That is odd. Did you set the LIVE_SERVER_PORT to 8000 in the config?

ogirardot commented 13 years ago

it did not work for me either until i set the LIVE_SERVER_PORT = 8000 in my settings