From bdd2d9968081e2ff3d30340cb61cac5079603f94 Mon Sep 17 00:00:00 2001 From: gholt Date: Fri, 10 Jun 2011 18:49:41 +0000 Subject: [PATCH] Updated functests to test for utf-8 --- test/functional/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/tests.py b/test/functional/tests.py index 59dcf38960..8c513490d2 100644 --- a/test/functional/tests.py +++ b/test/functional/tests.py @@ -227,10 +227,10 @@ class TestAccount(Base): headers = dict(self.env.conn.response.getheaders()) if format == 'json': self.assertEquals(headers['content-type'], - 'application/json; charset=utf8') + 'application/json; charset=utf-8') elif format == 'xml': self.assertEquals(headers['content-type'], - 'application/xml; charset=utf8') + 'application/xml; charset=utf-8') def testListingLimit(self): limit = 10000 @@ -1355,10 +1355,10 @@ class TestFile(Base): headers = dict(self.env.conn.response.getheaders()) if format == 'json': self.assertEquals(headers['content-type'], - 'application/json; charset=utf8') + 'application/json; charset=utf-8') elif format == 'xml': self.assertEquals(headers['content-type'], - 'application/xml; charset=utf8') + 'application/xml; charset=utf-8') lm_diff = max([f['last_modified'] for f in files]) - \ min([f['last_modified'] for f in files])