#NEWLINE# @ network #NEWLINE# def test_get_underlying_price( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# options_object = web . Options ( '^spxpm' , 'yahoo' ) #NEWLINE# url = options_object . _yahoo_url_from_expiry ( options_object . expiry_dates [ 0 ] ) #NEWLINE# root = options_object . _parse_url ( url ) #NEWLINE# quote_price = options_object . _underlying_price_from_root ( quote_price ) #NEWLINE# #UNINDENT# except RemoteDataError as e : #NEWLINE# #INDENT# raise nose . SkipTest ( e ) #NEWLINE# #UNINDENT# self . assertIsInstance ( quote_price , float )