#NEWLINE# def test_resolve_to_callable_registry( self ) : #NEWLINE# #INDENT# from ramses import registry #NEWLINE# @ registry . add #NEWLINE# def foo( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# func = utils . resolve_to_callable ( '{{foo}}' ) #NEWLINE# assert ( func is self ) #NEWLINE# func = utils . resolve_to_callable ( 'foo' ) #NEWLINE# assert ( func is foo )