#12765: syndication test fails with psycopg1 backend
---------------------------+------------------------------------------------
Reporter: kmtracey | Owner: nobody
Status: new | Milestone: 1.2
Component: Uncategorized | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
This looks to have something to do with setting the timezone on the
connection. My machine's time zone is one hour ahead of default settings
TIME_ZONE. Other times this kind of problem has come up it would usually
go away (as a workaround until the problem was identified) if the settings
TIME_ZONE was set to match actual machine time zone. In this case that
does not appear to make any difference.
{{{
............F..
======================================================================
FAIL: test_rss2_feed
(regressiontests.syndication.tests.SyndicationFeedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\u\kmt\django\trunk\tests\regressiontests\syndication\tests.py",
line 67, in test_rss2_feed
'copyright': 'Copyright (c) 2007, Sally Smith',
File "D:\u\kmt\django\trunk\tests\regressiontests\syndication\tests.py",
line 25, in assertChildNodeContent
elem.getElementsByTagName(k)[0].firstChild.wholeText, v)
AssertionError: u'Thu, 03 Jan 2008 13:30:00 -0500' != 'Thu, 03 Jan 2008
13:30:00 -0600'
----------------------------------------------------------------------
Ran 15 tests in 4.726s
FAILED (failures=1)
Destroying test database 'default'...
Destroying test database 'other'...
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/12765>
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.