#26111: Docs say fixtures are loaded per test, not per test case
-------------------------------+--------------------
     Reporter:  karyon         |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:  1.9
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 
[https://docs.djangoproject.com/en/1.9/topics/testing/tools/#django.test.TransactionTestCase.fixtures
 The testing tools documentation] says "At the start of each test case,
 before setUp() is run, Django will flush the database [...] Then, all the
 named fixtures are installed [...] This flush/load procedure is repeated
 for each test in the test case"

 But [https://docs.djangoproject.com/en/1.9/releases/1.8/#testcase-data-
 setup 1.8 release notes] say "Fixture loading within TestCase is now
 performed once for the whole TestCase."

 if you can confirm the first part is at least ambiguous, i'd fix that if
 wanted.

--
Ticket URL: <https://code.djangoproject.com/ticket/26111>
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/049.982fcbff63c8162b5f988333762c49b5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to