#23598: The testing framework has leaky scoping when defining models in tests
-----------------------------------+--------------------------------------
     Reporter:  nalourie           |                    Owner:  nobody
         Type:  Bug                |                   Status:  closed
    Component:  Testing framework  |                  Version:  1.6
     Severity:  Normal             |               Resolution:  fixed
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  1                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by carljm):

 Just to clarify for anyone who finds this in future: the issue has nothing
 to do with scoping in the testing framework specifically, it's about how
 Django model registration works. (That is, model classes are automatically
 globally registered, keyed by app-label and class name).

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

Reply via email to