#27127: Overriding timezone in test forces them to be TestCase
-----------------------------------+--------------------------------------
     Reporter:  tpazderka          |                    Owner:  nobody
         Type:  Bug                |                   Status:  closed
    Component:  Testing framework  |                  Version:  1.10
     Severity:  Normal             |               Resolution:  duplicate
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by tpazderka):

 Replying to [comment:6 timgraham]:
 > You can use
 
[https://docs.djangoproject.com/en/stable/topics/testing/tools/#django.test.SimpleTestCase.allow_database_queries
 SimpleTestCase.allow_database_queries].

 Yes, I know. We were hoping to avoid that. Thanks for the consideration.

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

Reply via email to