#NEWLINE# def test_object_js_filenames( self ) : #NEWLINE# #INDENT# self . longMessage = True #NEWLINE# all_object_classes = obj_services . Registry . get_all_object_classes ( ) #NEWLINE# for ( obj_type , obj_cls ) in all_object_classes . iteritems ( ) : #NEWLINE# #INDENT# if obj_cls . has_editor_js_template ( ) : #NEWLINE# #INDENT# template = obj_cls . get_editor_js_template ( ) #NEWLINE# directive_name = ( '%sEditor' % obj_type ) #NEWLINE# normalized_directive_name = ( directive_name [ 0 ] . lower ( ) + directive_name [ 1 : ] ) #NEWLINE# self . assertIn ( ( "oppia.directive('%s'" % normalized_directive_name ) , template , msg = ( '(%s)' % obj_type ) )