Hello,
I have little problem with testing Django sources in Windows.
I have fresh sources from "git clone". I used Git shell (sh.exe) from "Git 
Bash".
When:
*PYTHONPATH=.. <path_to_python>/python.exe runtests.py 
--settings=test_sqlite*

I receive these errors:

======================================================================
> FAIL: test_naturalday_uses_localtime 
> (django.contrib.humanize.tests.HumanizeTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "D:\- Repositories GIT -\django\django\contrib\humanize\tests.py", 
> line 162, in test_naturalday_uses_localtime
>     self.humanize_tester([dt], ['yesterday'], 'naturalday')
>   File "D:\- Repositories GIT -\django\django\contrib\humanize\tests.py", 
> line 48, in humanize_tester
>     msg="%s test failed, produced '%s', should've produced '%s'" % 
> (method, rendered, result))
> AssertionError: naturalday test failed, produced 'today', should've 
> produced 'yesterday'
>
> ======================================================================
> FAIL: test_aware_expiration (requests.tests.RequestsTests)
> Cookie accepts an aware datetime as expiration time
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "D:\- Repositories GIT -\django\tests\requests\tests.py", line 275, 
> in test_aware_expiration
>     self.assertEqual(datetime_cookie['max-age'], 10)
> AssertionError: 11 != 10
>
> ======================================================================
> FAIL: test_near_expiration (requests.tests.RequestsTests)
> Cookie will expire when an near expiration time is provided
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "D:\- Repositories GIT -\django\tests\requests\tests.py", line 266, 
> in test_near_expiration
>     self.assertEqual(datetime_cookie['max-age'], 10)
> AssertionError: 11 != 10
>
> ======================================================================
> FAIL: test_feed_last_modified_time (syndication.tests.SyndicationFeedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "D:\- Repositories GIT -\django\tests\syndication\tests.py", line 
> 265, in test_feed_last_modified_time
>     self.assertEqual(response['Last-Modified'], 'Thu, 03 Jan 2008 19:30:00 
> GMT')
> AssertionError: 'Thu, 03 Jan 2008 12:30:00 GMT' != u'Thu, 03 Jan 2008 
> 19:30:00 GMT'
>
> ----------------------------------------------------------------------
> Ran 5124 tests in 2268.805s
>
> FAILED (failures=4, skipped=217, expected failures=9)
>


Does anyone know what I'm doing wrong?
regards

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to