These are chat archives for django/django
I have a problem with selenium testing in django. My very first test looks this
I launching it with this command
python manage.py test accounts.tests.test_selenium
The problem is that it fails during user registration for there is no
id=settings.DEFAULT_LOCATION_ID. It's just disappears after this row:
And in log file: http://pastebin.com/FdAgYLvU
I mean, I create this model at test case start and it exist just before this row (I can put ipdb and inspect my models), but somehow during it I get no Locations in DB. It's just disappears.
import time; time.sleep(3)after submit form. But I dont know why.
voters = [user.id for user in Voter.objects.filter(poll__id=poll_id)]
if request.user.id in voters: