#20700: Tests does not report missing fixtures
-----------------------------------+--------------------------------------
     Reporter:  vzima              |                    Owner:  nobody
         Type:  Bug                |                   Status:  closed
    Component:  Testing framework  |                  Version:  master
     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
-----------------------------------+--------------------------------------
Changes (by vzima):

 * version:  1.5 => master


Comment:

 #10200 did not fixed this error. Tested on master.

 {{{
 #!python
 class TestFoo(unittest.TestCase):
     fixtures = ('/invalid/filename', )
     def test_foo(self):
         self.fail('Should not run')
 }}}

 The main problem here is the `loaddata` does not report any error when
 file is missing.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20700#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.58398a7deeb25d57048772d310a56e3b%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to