Opened 13 years ago

Last modified 13 years ago

#17347 closed Bug

regressiontests.servers.tests.AdminMediaHandlerTests.test_media_urls fails on Windows — at Initial Version

Reported by: Sergiy Kuzmenko Owned by: nobody
Component: contrib.admin Version: dev
Severity: Release blocker Keywords: regressiontests
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

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.

Change History (1)

by Sergiy Kuzmenko, 13 years ago

Attachment: test_media_urls.diff added
Note: See TracTickets for help on using tickets.
Back to Top