Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.2.X] Fixed wrong import introduced in r15697.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a97396948bdc68561a46229f8440b68a2ab79960 1 parent 0516b99
@jezdez jezdez authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/regressiontests/conditional_processing/
5 tests/regressiontests/conditional_processing/
@@ -2,7 +2,6 @@
from datetime import datetime
from django.test import TestCase
-from django.utils import unittest
from django.utils.http import parse_etags, quote_etag, parse_http_date
FULL_RESPONSE = 'Test conditional get response'
@@ -127,7 +126,7 @@ def testInvalidETag(self):
self.assertFullResponse(response, check_last_modified=False)
-class ETagProcessing(unittest.TestCase):
+class ETagProcessing(TestCase):
def testParsing(self):
etags = parse_etags(r'"", "etag", "e\"t\"ag", "e\\tag", W/"weak"')
self.assertEquals(etags, ['', 'etag', 'e"t"ag', r'e\tag', 'weak'])
@@ -137,7 +136,7 @@ def testQuoting(self):
self.assertEquals(quoted_etag, r'"e\\t\"ag"')
-class HttpDateProcessing(unittest.TestCase):
+class HttpDateProcessing(TestCase):
def testParsingRfc1123(self):
parsed = parse_http_date('Sun, 06 Nov 1994 08:49:37 GMT')
Please sign in to comment.
Something went wrong with that request. Please try again.