From 92be7f962392f81d062b78a6d2fdb1a5e243b1a7 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Thu, 28 Feb 2019 17:53:02 +0100 Subject: [PATCH] Adapt test for #49 again --- ivatar/ivataraccount/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ivatar/ivataraccount/test_views.py b/ivatar/ivataraccount/test_views.py index 57ab8dc..6342817 100644 --- a/ivatar/ivataraccount/test_views.py +++ b/ivatar/ivataraccount/test_views.py @@ -358,7 +358,7 @@ class Tester(TestCase): # pylint: disable=too-many-public-methods # Probably not the best way to access the content type self.assertEqual( response['Content-Type'], - 'image/jpeg', + 'image/jpg', 'Content type wrong!?') self.assertEqual( @@ -640,7 +640,7 @@ class Tester(TestCase): # pylint: disable=too-many-public-methods 'Successfully uploaded', 'JPEG upload failed?!') self.assertEqual( - self.user.photo_set.first().format, 'jpeg', + self.user.photo_set.first().format, 'jpg', 'Format must be jpeg, since we uploaded a jpeg!') self.test_confirm_email() self.user.confirmedemail_set.first().photo = self.user.photo_set.first()