Documentation of fixture loading misleading
|Reported by:||Aku Kotkavuo||Owned by:||Jacob|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Django documentation at http://docs.djangoproject.com/en/dev/topics/testing/#fixture-loading says this about fixture placement:
Once you've created a fixture and placed it somewhere in your Django project, you can use it in your unit tests by specifying a fixtures class attribute on your django.test.TestCase subclass.
However, this is wrong: Django looks specifically at fixtures/ subdirectory in each app. The word "somewhere" is too ambiguous -- the exact behaviour of Django should be documented here.
Change History (6)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|