#14447: Auth and Sitemap test failures from manage.py test ---------------------------+------------------------------------------------ Reporter: gabrielhurley | Owner: gabrielhurley Status: new | Milestone: 1.3 Component: Contrib apps | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 1 | ---------------------------+------------------------------------------------ The `contrib.auth` and `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.
Issues: 1. `contrib.auth`'s `testLoginRequired` fails when LOGIN_URL is set to something other than "/login/". (post [13723]) 2. `contrib.sitemaps` had several dependencies on `contrib.flatpages` (post [13734]) 3. `contrib.sitemaps`'s `test_generic_sitemap` fails when a fixture loads in extra `User` objects. (post [13676]) 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. -- Ticket URL: <http://code.djangoproject.com/ticket/14447> 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.
