1
0
mirror of https://github.com/bspeice/metrik synced 2024-11-04 22:48:11 -05:00

SDY changed holdings again

I'm actually a bit surprised that it changes this often...
This commit is contained in:
Bradlee Speice 2016-12-06 08:23:55 -05:00
parent 6fda62fa4d
commit 167928a7e3

View File

@ -24,7 +24,7 @@ class StateStreetHoldingTest(TestCase):
self.assertEqual(holdings_dict['Ticker Symbol'], 'SDY') self.assertEqual(holdings_dict['Ticker Symbol'], 'SDY')
self.assertEqual(holdings_dict['Fund Name'], u'SPDR® S&P® Dividend ETF') self.assertEqual(holdings_dict['Fund Name'], u'SPDR® S&P® Dividend ETF')
self.assertEqual(holdings_dict['holdings'][0]['Identifier'], 'T') self.assertEqual(holdings_dict['holdings'][0]['Identifier'], 'PBCT')
def test_spyd_holdings(self): def test_spyd_holdings(self):
holdings_dict = StateStreetHoldings.retrieve_data( holdings_dict = StateStreetHoldings.retrieve_data(