From 9fc3dcb5d65f227f87912cdb61e40e3ad97858dc Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Sat, 4 Apr 2020 20:38:16 +0500 Subject: [PATCH] BOM-1490 None is not a valid value for posting. --- lms/djangoapps/verify_student/tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/verify_student/tests/test_views.py b/lms/djangoapps/verify_student/tests/test_views.py index 374ad19795..ca10e0d660 100644 --- a/lms/djangoapps/verify_student/tests/test_views.py +++ b/lms/djangoapps/verify_student/tests/test_views.py @@ -1136,7 +1136,7 @@ class CheckoutTestMixin(object): Ensures that checkout functions were invoked as expected during execution of the create_order endpoint. """ - post_params.setdefault('processor', None) + post_params.setdefault('processor', '') response = self.client.post(reverse('verify_student_create_order'), post_params) self.assertEqual(response.status_code, expected_status_code) if expected_status_code == 200: @@ -1394,7 +1394,7 @@ class TestCreateOrderView(ModuleStoreTestCase): data = { 'contribution': contribution, 'course_id': course_id, - 'processor': None, + 'processor': '', } response = self.client.post(url, data)