Auth and Sitemap test failures from manage.py test
|Reported by:||Gabriel Hurley||Owned by:||Gabriel Hurley|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
contrib.sitemap tests pass perfectly when run from Django's test suite, but they can potentially raise multiple failures depending on a project's settings.
testLoginRequiredfails when LOGIN_URL is set to something other than "/login/". (post )
contrib.sitemapshad several dependencies on
test_generic_sitemapfails when a fixture loads in extra
Userobjects. (post )
The attached patches fix all of the above, and still pass the full test suite. One patch for trunk, one patch for 1.2.X.
Please note that issue 3 actually exists in the current 1.2.3 release. The rest have been introduced since then.
Change History (5)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
|Status:||new → assigned|
|Triage Stage:||Unreviewed → Accepted|