#17347: regressiontests.servers.tests.AdminMediaHandlerTests.test_media_urls
fails
on Windows
-----------------------------------+--------------------------------------
Reporter: shelldweller | Owner: ramiro
Type: Bug | Status: assigned
Component: Testing framework | Version: SVN
Severity: Normal | Resolution:
Keywords: regressiontests | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by ramiro):
* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => ramiro
* needs_docs: => 0
Old description:
> ======================================================================
> FAIL: test_media_urls
> (regressiontests.servers.tests.AdminMediaHandlerTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "D:\work\src\django-
> svn\trunk\tests\regressiontests\servers\tests.py", line 63, in
> test_media_urls
> "Got: %s, Expected: %s, URL was: %s" % (output, desired, url))
> AssertionError: Got: D:\work\src\django-
> svn\trunk\django\contrib\admin\static\admin\css\base.css, Expected:
> d:\work\src\
> django-svn\trunk\django\contrib\admin\static\admin\css\base.css, URL was:
> /static/admin/css/base.css
>
> Both output and desired need to be normcase'd. Patch attached.
New description:
{{{
======================================================================
FAIL: test_media_urls
(regressiontests.servers.tests.AdminMediaHandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\work\src\django-
svn\trunk\tests\regressiontests\servers\tests.py", line 63, in
test_media_urls
"Got: %s, Expected: %s, URL was: %s" % (output, desired, url))
AssertionError: Got: D:\work\src\django-
svn\trunk\django\contrib\admin\static\admin\css\base.css, Expected:
d:\work\src\
django-svn\trunk\django\contrib\admin\static\admin\css\base.css, URL was:
/static/admin/css/base.css
}}}
Both output and desired need to be normcase'd. Patch attached.
--
Comment:
Thanks.
(Please use the ''Preview'' Trac functionality before submitting a ticket
or a comment to avoid obvious formatting errors.)
--
Ticket URL: <https://code.djangoproject.com/ticket/17347#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 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.