From f7d528eee4fa46dd027a5e7fe087701465e97f37 Mon Sep 17 00:00:00 2001 From: Ayub khan Date: Wed, 28 Aug 2019 15:09:48 +0500 Subject: [PATCH] BOM-289 py3 unittest fix --- lms/djangoapps/verify_student/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/verify_student/tests/test_views.py b/lms/djangoapps/verify_student/tests/test_views.py index 67e8a85f17..e21814472c 100644 --- a/lms/djangoapps/verify_student/tests/test_views.py +++ b/lms/djangoapps/verify_student/tests/test_views.py @@ -1538,7 +1538,7 @@ class TestSubmitPhotosForVerification(TestCase): full_name="", expected_status_code=400 ) - self.assertEqual(response.content, "Name must be at least 1 character long.") + self.assertEqual(response.content.decode('utf-8'), "Name must be at least 1 character long.") def test_missing_required_param(self): # Missing face image parameter