Re: Add support for LiveServerTestCase.setUpTestData

2016-04-29 Thread 'Moritz Sichert' via Django developers (Contributions to Django itself)
Hi, LiveServerTestCase doesn't inherit from django.test.TestCase intentionally, that's why it doesn't call setUpTestData(). If you need that functionality just inherit from both: class MyTestCase(LiveServerTestCase, TestCase): # ... Moritz Am 29.04.2016 um 21:46 schrieb Crono5788: > I am

Add support for LiveServerTestCase.setUpTestData

2016-04-29 Thread Crono5788
I am writing test cases and have some helper mixins, and when I try to use some of those mixins in tests that extend LiveServerTestCase, they don't work properly since LiveServerTestCase never calls setUpTestData. Is it possible/practical to get this method supported for LiveServerTestCase? -- Y