#NEWLINE# def test_get_best_bid_ask( self ) : #NEWLINE# #INDENT# "\n        Tests that the 'get_best_bid_ask' method produces the\n        correct values depending upon validity of ticker.\n        " #NEWLINE# ( bid , ask ) = self . price_handler . get_best_bid_ask ( 'AMZN' ) #NEWLINE# self . assertEqual ( self , Decimal ( '502.10001' ) ) #NEWLINE# self . assertEqual ( ask , Decimal ( '502.11999' ) ) #NEWLINE# ( bid , ask ) = self . price_handler . get_best_bid_ask ( 'C' ) #NEWLINE# self . assertEqual ( bid , None ) #NEWLINE# self . assertEqual ( ask , None )