#24667: Some tests in model_field suite don't actually do anything
-----------------------------------+--------------------
     Reporter:  yoongkang          |      Owner:  nobody
         Type:  Bug                |     Status:  new
    Component:  Testing framework  |    Version:  1.8
     Severity:  Normal             |   Keywords:  tests
 Triage Stage:  Unreviewed         |  Has patch:  0
Easy pickings:  0                  |      UI/UX:  0
-----------------------------------+--------------------
 I ran the model_fields test suite. In this suite there is a test called
 test_cardinality_m2m.

 The test is supposed to iterate through a collection of fields and run
 some tests on each field in the collection.

 These asserts never actually get called because the collection is empty.

 To reproduce, simply run the following:

 PYTHONPATH=..$PYTHONPATH ./runtests.py model_fields

 The other tests in model_fields look like they may have the same problem.

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

Reply via email to