<s> import datetime <EOL> import unittest <EOL> from django . utils import feedgenerator , tzinfo <EOL> class FeedgeneratorTest ( unittest . TestCase ) : <EOL> """<STR_LIT>""" <EOL> def test_get_tag_uri ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> feedgenerator . get_tag_uri ( '<STR_LIT>' , datetime . date ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT> ) ) , <EOL> u'<STR_LIT>' ) <EOL> def test_get_tag_uri_with_port ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> feedgenerator . get_tag_uri ( '<STR_LIT>' , datetime . datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT:0> ) ) , <EOL> u'<STR_LIT>' ) <EOL> def test_rfc2822_date ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> feedgenerator . rfc2822_date ( datetime . datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT:0> ) ) , <EOL> "<STR_LIT>" <EOL> ) <EOL> def test_rfc2822_date_with_timezone ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> feedgenerator . rfc2822_date ( datetime . datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT:0> , tzinfo = tzinfo . FixedOffset ( datetime . timedelta ( minutes = <NUM_LIT> ) ) ) ) , <EOL> "<STR_LIT>" <EOL> ) <EOL> def test_rfc3339_date ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> feedgenerator . rfc3339_date ( datetime . datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT:0> ) ) , <EOL> "<STR_LIT>" <EOL> ) <EOL> def test_rfc3339_date_with_timezone ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> feedgenerator . rfc3339_date ( datetime . datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT:0> , tzinfo = tzinfo . FixedOffset ( datetime . timedelta ( minutes = <NUM_LIT> ) ) ) ) , <EOL> "<STR_LIT>" <EOL> ) </s>
