#NEWLINE# def test_async_route( self ) : #NEWLINE# #INDENT# web = Web ( 'web' ) #NEWLINE# pid = self . context . spawn ( web ) #NEWLINE# url = ( 'http://%s:%s/web/ping' % ( pid . ip , pid . port ) ) #NEWLINE# content = requests . get ( url ) . text #NEWLINE# assert ( content == 'pong' )