Changes between Initial Version and Version 1 of Ticket #23640, comment 3


Ignore:
Timestamp:
Oct 13, 2014, 5:15:54 AM (10 years ago)
Author:
Greg Chapple

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23640, comment 3

    initial v1  
    1 The problem appears to be with {{{django.test.testcases.LiveServerTestCase}}} which inherits from {{{TransactionTestCase}}}. Changing this class to inherit from {{{TestCase}} seems to solve the issue, though I'm not sure if this is ideal. The docstring on LiveServerTestCase mentions a reason as to why it doesn't inherit from TestCase:
     1The problem appears to be with {{{django.test.testcases.LiveServerTestCase}}} which inherits from {{{TransactionTestCase}}}. Changing this class to inherit from {{{TestCase}}} seems to solve the issue, though I'm not sure if this is ideal. The docstring on LiveServerTestCase mentions a reason as to why it doesn't inherit from TestCase:
    22
    33
Back to Top