def test_ticker_list_with_a_holiday(self): tickers = stock.get_etn_ticker_list("20210103") self.assertIsInstance(tickers, list) self.assertGreater(len(tickers), 0)
def test_ticker_list(self): tickers = stock.get_etn_ticker_list() self.assertIsInstance(tickers, list) self.assertGreater(len(tickers), 0)