Changes between Initial Version and Version 1 of Ticket #27117, comment 2


Ignore:
Timestamp:
Aug 24, 2016, 8:49:57 AM (8 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27117, comment 2

    initial v1  
    1 This looks like a bug in your test code -- you're creating a user in `setUpClass` so that object persists between test methods. It may not be related to the issue, but the test client isn't designed for use in `StaticLiveServerTestCase`. See TicketClosingReasons/UseSupportChannels for ways to get help.
     1This looks like a bug in your test code -- you're creating a user in `setUpClass` so that object persists between test methods (see the warning about modifying objects in the [https://docs.djangoproject.com/en/stable/topics/testing/tools/#django.test.TestCase.setUpTestData TestCase.setUpTestData()] docs). It may not be related to the issue, but the test client isn't designed for use in `StaticLiveServerTestCase`. See TicketClosingReasons/UseSupportChannels for ways to get help.
Back to Top