def __init__(self):
     ''' constructor '''
     super(YahooDAM, self).__init__()
     self.__yf = YahooFinance()
 def testGetHistoricalPrices(self):
     yahooFinance = YahooFinance()
     data = yahooFinance.getQuotes('^STI', '20110101', '20110110')
     self.assertNotEqual(0, len(data))