Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a97396948bdc68561a46229f8440b68a2ab79960 1 parent 0516b99
Jannis Leidel authored March 03, 2011
5  tests/regressiontests/conditional_processing/models.py
@@ -2,7 +2,6 @@
2 2
 from datetime import datetime
3 3
 
4 4
 from django.test import TestCase
5  
-from django.utils import unittest
6 5
 from django.utils.http import parse_etags, quote_etag, parse_http_date
7 6
 
8 7
 FULL_RESPONSE = 'Test conditional get response'
@@ -127,7 +126,7 @@ def testInvalidETag(self):
127 126
         self.assertFullResponse(response, check_last_modified=False)
128 127
 
129 128
 
130  
-class ETagProcessing(unittest.TestCase):
  129
+class ETagProcessing(TestCase):
131 130
     def testParsing(self):
132 131
         etags = parse_etags(r'"", "etag", "e\"t\"ag", "e\\tag", W/"weak"')
133 132
         self.assertEquals(etags, ['', 'etag', 'e"t"ag', r'e\tag', 'weak'])
@@ -137,7 +136,7 @@ def testQuoting(self):
137 136
         self.assertEquals(quoted_etag, r'"e\\t\"ag"')
138 137
 
139 138
 
140  
-class HttpDateProcessing(unittest.TestCase):
  139
+class HttpDateProcessing(TestCase):
141 140
     def testParsingRfc1123(self):
142 141
         parsed = parse_http_date('Sun, 06 Nov 1994 08:49:37 GMT')
143 142
         self.assertEqual(datetime.utcfromtimestamp(parsed),

0 notes on commit a973969

Please sign in to comment.
Something went wrong with that request. Please try again.