#24345: Sitemap tests fail because of domain mismatch
----------------------------------+--------------------------------------
     Reporter:  knbk              |                    Owner:  nobody
         Type:  Bug               |                   Status:  new
    Component:  contrib.sitemaps  |                  Version:  master
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Changes (by knbk):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Old description:

> 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.
>
> There's probably something wrong with the tests themselves.

New description:

 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.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/24345#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.132e73b0a383027bbcace87c9a33fd9e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to