#15384: TestAppDirectoriesFinder fails in Windows
---------------------------+------------------------------------------------
 Reporter:  anonymous      |          Owner:  nobody    
   Status:  new            |      Milestone:            
Component:  Uncategorized  |        Version:  1.3-beta  
 Keywords:                 |   Triage Stage:  Unreviewed
Has patch:  0              |  
---------------------------+------------------------------------------------
 I ran the Django 1.3 beta 1 tests using the included sqlite backend in a
 Windows 7 machine. The
 
[http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/staticfiles_tests/tests.py#L371
 TestAppDirectoriesFinder] failed because of the Windows slashes:

 {{{
 ======================================================================
 FAIL: test_find_all
 (regressiontests.staticfiles_tests.tests.TestAppDirectoriesFinder)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 
"C:\Users\cesar\Documents\apps\Django-1.3-beta-1\tests\regressiontests\staticfiles_tests\tests.py",
 line 323, in test_find_all
     self.assertEquals(self.finder.find(src, all=True), dst)
 AssertionError: Lists differ: [u'c:\\users\\cesar\\documents... !=
 ['C:\\Users\\cesar\\Documents\...

 First differing element 0:
 
c:\users\cesar\documents\apps\django-1.3-beta-1\tests\regressiontests\staticfiles_tests\apps\test\static\test\file1.txt
 
C:\Users\cesar\Documents\apps\Django-1.3-beta-1\tests\regressiontests\staticfiles_tests\apps/test/static/test/file1.txt

 -
 
[u'c:\\users\\cesar\\documents\\apps\\django-1.3-beta-1\\tests\\regressiontests\\staticfiles_tests\\apps\\test\\static\\test\\file1.txt']
 ?  - ^   ^             ^                ^
 ^^    ^^      ^^    ^^

 +
 
['C:\\Users\\cesar\\Documents\\apps\\Django-1.3-beta-1\\tests\\regressiontests\\staticfiles_tests\\apps/test/static/test/file1.txt']
 ?   ^   ^             ^                ^
 ^    ^      ^    ^
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15384>
Django <http://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