Opened 10 years ago

Last modified 10 years ago

#24345 closed Bug

Sitemap tests fail because of domain mismatch — at Version 1

Reported by: Marten Kenbeek Owned by: nobody
Component: contrib.sitemaps Version: dev
Severity: Normal Keywords: 1.8-beta
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Marten Kenbeek)

This seems to be the result of moving the contrib tests into django/tests/, it works fine on 197dd4b8f12164f6acebb3b959f9ac2040a40400. It pre-dates commit e8cf4f8abec87b9da6ed8e5c8cf833af9b27f4dd, as the commit before that gets the same failures. Most sitemaps_tests fail because the expected result (example.com) and the actual response (testserver) have mismatching domain names, but only when run with all other tests. I haven't been able to isolate yet which exact combination of tests causes this.

There's probably something wrong with the tests themselves.

Change History (1)

comment:1 by Marten Kenbeek, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top