#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 gchp):

 Inheriting from TestCase and StaticLiveServerTestCase appears to work,
 though I don't know what other issues that will cause.

 {{{
 class MyTests(TestCase, StaticLiveServerTestCase):
     ...
 }}}

 Does that work for your use case?

--
Ticket URL: <https://code.djangoproject.com/ticket/23640#comment:11>
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.b0db6ba9aa92338f8d30d305cbc55468%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to