Sitemap tests fail because of domain mismatch
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
(7)
Description: |
modified (diff)
|
Easy pickings: |
set
|
Keywords: |
1.8-beta added
|
Triage Stage: |
Unreviewed → Accepted
|
Has patch: |
set
|
Owner: |
changed from nobody to Marten Kenbeek
|
Status: |
new → assigned
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
I suspect a similar fix as e0b3926026984dccc86a09c0c4f32e8bec6f3fe1 will be needed. To reproduce this:
./runtests contenttypes_tests sitemaps_tests