Changed the order of the button
Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
This commit is contained in:
committed by
Giovanni Cimolin da Silva
parent
4ad50ef5d9
commit
9c434cc8b2
@@ -41,7 +41,7 @@ __all__ = [
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
# NOTE: This list is disjoint from ADVANCED_COMPONENT_TYPES
|
||||
COMPONENT_TYPES = ['discussion', 'html', 'problem', 'openassessment', 'video']
|
||||
COMPONENT_TYPES = ['discussion', 'html', 'openassessment', 'problem', 'video']
|
||||
|
||||
ADVANCED_COMPONENT_TYPES = sorted(set(name for name, class_ in XBlock.load_classes()) - set(COMPONENT_TYPES))
|
||||
|
||||
|
||||
@@ -2442,10 +2442,10 @@ class TestComponentTemplates(CourseTestCase):
|
||||
"""
|
||||
Helper method to verify that staffgradedxblock template is present
|
||||
"""
|
||||
dndv2 = get_xblock_problem('Staff Graded Points')
|
||||
self.assertIsNotNone(dndv2)
|
||||
self.assertEqual(dndv2.get('category'), 'staffgradedxblock')
|
||||
self.assertEqual(dndv2.get('support_level'), support_level)
|
||||
sgp = get_xblock_problem('Staff Graded Points')
|
||||
self.assertIsNotNone(sgp)
|
||||
self.assertEqual(sgp.get('category'), 'staffgradedxblock')
|
||||
self.assertEqual(sgp.get('support_level'), support_level)
|
||||
|
||||
def verify_dndv2_present(support_level):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user