Fix edge checklist 500 error

EDUCATOR-3355
This commit is contained in:
Awais Jibran
2018-08-27 18:12:39 +05:00
parent 71161b8eda
commit 3bb34faa8f
8 changed files with 593 additions and 90 deletions

View File

@@ -125,6 +125,7 @@ class CourseQualityViewTest(SharedModuleStoreTestCase, APITestCase):
'total_visible': 1,
'total_number': 1,
'highlights_enabled': False,
'highlights_active_for_course': False,
},
'subsections': {
'num_with_one_block_type': 1,

View File

@@ -92,6 +92,7 @@ class CourseValidationViewTest(SharedModuleStoreTestCase, APITestCase):
'has_update': True,
},
'certificates': {
'is_enabled': True,
'is_activated': False,
'has_certificate': False,
},
@@ -101,5 +102,4 @@ class CourseValidationViewTest(SharedModuleStoreTestCase, APITestCase):
},
'is_self_paced': True,
}
self.assertDictEqual(resp.data, expected_data)