#NEWLINE# def test_api( self ) : #NEWLINE# #INDENT# 'Test to ensure changing the API associated with the route works as expected' #NEWLINE# new_route = self . route . api ( 'new' ) #NEWLINE# assert ( new_route != self . route ) #NEWLINE# assert ( new_route . route [ 'api' ] == 'new' )