#NEWLINE# def test_repeat_rule_ref( ) : #NEWLINE# #INDENT# grammar = '\n    Rule: ID*;\n    ' #NEWLINE# metamodel = metamodel_from_str ( grammar ) #NEWLINE# assert ( model [ 'Rule' ] . _tx_type is RULE_MATCH ) #NEWLINE# model = metamodel . model_from_str ( 'first second third' ) #NEWLINE# assert ( model == 'firstsecondthird' )