#15582: Docs don't mention that TestCase.multi_db affects test fixtures
---------------------------+---------------------------
 Reporter:  slinkp         |         Owner:  nobody
   Status:  new            |     Milestone:
Component:  Documentation  |       Version:  1.2
 Keywords:                 |  Triage Stage:  Unreviewed
Has patch:  0              |
---------------------------+---------------------------
 From reading
 
http://docs.djangoproject.com/en/1.2/topics/testing/#django.test.TestCase.fixtures
 I wouldn't guess that you have to do anything special to load fixtures in
 multi-database setups.

 And
 
http://docs.djangoproject.com/en/1.2/topics/testing/#django.test.TestCase.multi_db
 says nothing about fixtures. A strict reading would make me think multi_db
 only affects cleaning databases and maybe loading initial_data fixtures;
 it doesn't say that it affects loading the fixtures from
 TestCase.fixtures.

 Perhaps that's implied, but I think it should be explicit.

 This is especially confusing because there is no output from the test
 runner at all about fixture loading, either success or failure.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15582>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to