#NEWLINE# def test_name( self ) : #NEWLINE# #INDENT# 'Test to ensure the name can be replaced on the fly' #NEWLINE# new_route = self . route . name ( 'new name' ) #NEWLINE# assert ( new_route != self . route ) #NEWLINE# assert ( new_route . route [ 'name' ] == 'new name' ) #NEWLINE# assert ( new_route . route [ 'transform' ] == 'transform' ) #NEWLINE# assert ( new_route . route [ 'output' ] == 'output' )