summaryrefslogtreecommitdiff
path: root/tests/regressiontests/conditional_processing
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/conditional_processing')
-rw-r--r--tests/regressiontests/conditional_processing/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/conditional_processing/models.py b/tests/regressiontests/conditional_processing/models.py
index dacea34a83..d0838e153d 100644
--- a/tests/regressiontests/conditional_processing/models.py
+++ b/tests/regressiontests/conditional_processing/models.py
@@ -22,7 +22,7 @@ class ConditionalGet(TestCase):
def assertFullResponse(self, response, check_last_modified=True, check_etag=True):
self.assertEqual(response.status_code, 200)
- self.assertEqual(response.content, FULL_RESPONSE)
+ self.assertEqual(response.content, FULL_RESPONSE.encode())
if check_last_modified:
self.assertEqual(response['Last-Modified'], LAST_MODIFIED_STR)
if check_etag: