def test_rfc3339_date(self):
        self.assertEqual(
            feedgenerator.rfc3339_date(datetime.datetime(2008, 11, 14, 13, 37, 0)),
            "2008-11-14T13:37:00Z"
        )
Test rfc3339_date() correctly formats datetime objects.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/utils/feedgenerator.py/FeedgeneratorTest.test_rfc3339_date