Added improved comments
Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
This commit is contained in:
committed by
Giovanni Cimolin da Silva
parent
48595cd38d
commit
95a219f395
@@ -270,7 +270,7 @@ def get_component_templates(courselike, library=False):
|
||||
# by the components in the order listed in COMPONENT_TYPES.
|
||||
component_types = COMPONENT_TYPES[:]
|
||||
|
||||
# Libraries do not support discussions
|
||||
# Libraries do not support discussions and openassessment
|
||||
component_not_supported_by_library = ['discussion', 'openassessment']
|
||||
if library:
|
||||
component_types = [component for component in component_types
|
||||
|
||||
@@ -2501,7 +2501,7 @@ class TestComponentTemplates(CourseTestCase):
|
||||
|
||||
def _verify_basic_component_display_name(self, component_type, display_name):
|
||||
"""
|
||||
Verify the display name and support level of basic components (that have no boilerplates).
|
||||
Verify the display name of basic components.
|
||||
"""
|
||||
component_display_name = self.get_display_name_of_type(component_type)
|
||||
self.assertEqual(display_name, component_display_name)
|
||||
|
||||
Reference in New Issue
Block a user