          self.assertEqual(quoted_etag, r'"e\\t\"ag"')
  
  
  class HttpDateProcessingTests(unittest.TestCase):
      def test_parsing_rfc1123(self):
          parsed = http.parse_http_date('Sun, 06 Nov 1994 08:49:37 GMT')
          self.assertEqual(datetime.utcfromtimestamp(parsed),
                           datetime(1994, 11, 6, 8, 49, 37))
 
</s> remove from django.utils.encoding import (force_bytes, force_text, filepath_to_uri,
        python_2_unicode_compatible)
 </s> add from django.utils.encoding import (filepath_to_uri, force_bytes,
    force_text, iri_to_uri, python_2_unicode_compatible)
from django.utils.http import urlquote_plus
    def test_http_date(self):
        t = 1167616461.0
        self.assertEqual(http.http_date(t), 'Mon, 01 Jan 2007 01:54:21 GMT')

    def test_cookie_date(self):
        t = 1167616461.0
        self.assertEqual(http.cookie_date(t), 'Mon, 01-Jan-2007 01:54:21 GMT')

          self.assertEqual(quoted_etag, r'"e\\t\"ag"')
  
  
  class HttpDateProcessingTests(unittest.TestCase):
    def test_http_date(self):
        t = 1167616461.0
        self.assertEqual(http.http_date(t), 'Mon, 01 Jan 2007 01:54:21 GMT')

    def test_cookie_date(self):
        t = 1167616461.0
        self.assertEqual(http.cookie_date(t), 'Mon, 01-Jan-2007 01:54:21 GMT')

      def test_parsing_rfc1123(self):
          parsed = http.parse_http_date('Sun, 06 Nov 1994 08:49:37 GMT')
          self.assertEqual(datetime.utcfromtimestamp(parsed),
                           datetime(1994, 11, 6, 8, 49, 37))
keep keep keep add keep keep keep keep
 Consolidated some text utils into the utils_tests test package. 
tests/utils_tests/test_http.py