So I'm working my way through the Django tutorials, and have got as far as 
the view tests.  It seems that when running the test client, rather than 
returning data from an empty test database (is this what is meant to 
happen?) it is returning polls from the existing database, which has the 
polls created in the previous tutorials.  This means the tests that expect 
empty result sets fail.

Any idea why it would be doing this?  Am I correct in thinking the test 
should create it's own empty database to test this?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e1782c5f-d8e7-4fc6-93d8-88d01aafbd4f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to