#23640: StaticLiveServerTestCase does not properly respect data migrations
-------------------------------------+-------------------------------------
Reporter: eldamir | Owner: gchp
Type: Bug | Status: closed
Component: Testing framework | Version: 1.7
Severity: Normal | Resolution: wontfix
Keywords: data migration, | Triage Stage: Accepted
functional tests | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by tchaumeny):
You should not inherit from both those classes as they are doing very
different things. What you need is to set `serialized_rollback = True` in
the body of your test case, which should make the migrated data restored
for each test function.
--
Ticket URL: <https://code.djangoproject.com/ticket/23640#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.dff8ce6b601874bcf4efb9cc306d6b1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.