<s> from __future__ import unicode_literals <EOL> import calendar <EOL> import datetime <EOL> from django . utils import http as http_utils <EOL> from daydreamer . tests . views . core import http <EOL> class TestCase ( http . TestCase ) : <EOL> """<STR_LIT>""" <EOL> def format_etag ( self , etag ) : <EOL> """<STR_LIT>""" <EOL> return http_utils . quote_etag ( etag ) <EOL> def format_datetime ( self , dt ) : <EOL> """<STR_LIT>""" <EOL> return http_utils . http_date ( calendar . timegm ( dt . utctimetuple ( ) ) ) </s>
