On Wednesday 22 February 2017 15:13:47 'Tom Evans' via Django users wrote:

> These tests exercise parts of django_otp that interact with parts of
> my code. Successful tests indicate that those two parts interoperate
> correctly. The tests are successful when run individually, but fail
> when run as a suite because data loaded as part of a migration is
> flushed away before the second test.

So they're different tests: they make use of the logic of the library's test 
suite, 
but operate on your data. Schoolbook example for inheritance:

from django_otp.tests import SuperTest

class SuperTestWithMyData(SuperTest):
        fixtures = ['my_data']

-- 
Melvyn Sopacua

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6963738.qIisf3konX%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to