From 3ba12bf224aa695a7978d9ffadfe267d44d1d9b6 Mon Sep 17 00:00:00 2001 From: bspeice Date: Thu, 24 Nov 2016 14:26:13 -0500 Subject: [PATCH] Primary holding is now T, not HCP --- test/tasks/test_cboe.py | 4 +--- test/tasks/test_state_street.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/tasks/test_cboe.py b/test/tasks/test_cboe.py index e0a8736..92b865f 100644 --- a/test/tasks/test_cboe.py +++ b/test/tasks/test_cboe.py @@ -7,6 +7,4 @@ class CboeTest(TestCase): def test_optionable_list(self): companies = CboeOptionableList.retrieve_data()['companies'] - assert len(companies) > 2000 - # TODO: Get lists of companies from ETF holdings and verify that they - # can be found here as well - this should be a superset \ No newline at end of file + assert len(companies) > 2000 \ No newline at end of file diff --git a/test/tasks/test_state_street.py b/test/tasks/test_state_street.py index 448ea13..1803e1a 100644 --- a/test/tasks/test_state_street.py +++ b/test/tasks/test_state_street.py @@ -24,7 +24,7 @@ class StateStreetHoldingTest(TestCase): self.assertEqual(holdings_dict['Ticker Symbol'], 'SDY') self.assertEqual(holdings_dict['Fund Name'], u'SPDR® S&P® Dividend ETF') - self.assertTrue(holdings_dict['holdings'][0]['Identifier'] == 'HCP') + self.assertEqual(holdings_dict['holdings'][0]['Identifier'], 'T') def test_spyd_holdings(self): holdings_dict = StateStreetHoldings.retrieve_data(