#16203: 'servers' test fails on Windows
-------------------------+-------------------------------
 Reporter:  intelliyole  |          Owner:  nobody
     Type:  Bug          |         Status:  new
Milestone:               |      Component:  Uncategorized
  Version:  1.3          |       Severity:  Normal
 Keywords:               |   Triage Stage:  Unreviewed
Has patch:  1            |  Easy pickings:  0
    UI/UX:  0            |
-------------------------+-------------------------------
 The failure happens because the expected path is normalized with
 os.path.normcase, but the actually returned path is not.

 {{{

 C:\Python27\python.exe C:/src/django/django/tests/runtests.py
 --settings=test_sqlite servers
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 F
 ======================================================================
 FAIL: test_media_urls
 (regressiontests.servers.tests.AdminMediaHandlerTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\src\django\django\tests\regressiontests\servers\tests.py", line
 62, in test_media_urls
     "Got: %s, Expected: %s, URL was: %s" % (output, desired, url))
 AssertionError: Got:
 C:\src\django\django\django\contrib\admin\media\css\base.css, Expected:
 c:\src\django\django\django\contrib\admin\media\css\base.css, URL was:
 /static/admin/css/base.css

 ----------------------------------------------------------------------
 Ran 1 test in 0.001s

 FAILED (failures=1)
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16203>
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.

Reply via email to