As I understand it, the database should be reset between each test. To
me this means that unless the variable being examined is an attribute
of self, the tests shouldn't affect each other.

Could it be possible that there is a sqllite subtly that delays the
reset of the table count and it affects the outcome of the test in
this instance?

On Aug 19, 3:43 pm, [email protected] wrote:
> Could it be that the tests affect each other (when ran in a series)?
>
> Sent from my BlackBerry® from Vodafone
>
> -----Original Message-----
> From: dm03514 <[email protected]>
>
> Sender: [email protected]
> Date: Fri, 19 Aug 2011 12:13:24
> To: Django users<[email protected]>
> Reply-To: [email protected]
> Subject: Django Test Corrupted Test Data
>
> I have a test class that subclasses django.test.TestCase which has
> about 5 different tests in it. When I run my full test suite (using
> nose, and specifying sqlite as backend) there are a series of
> failures. When I go to debug the tests, running them individually,
> they pass fine.
>
> http://stackoverflow.com/questions/7126172/django-testrunner-incorrec...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to