def test_get_cik_map_company_names(self, lookup, cik, mock_get_cik_map): cik_map = get_cik_map() assert cik_map["title"][lookup.upper()] == cik
def test_get_cik_map_tickers(self, lookup, cik, mock_get_cik_map): cik_map = get_cik_map() assert cik_map["ticker"][lookup.upper()] == cik
def test_get_cik_map_tickers_smoke(self, lookup, cik): cik_map = get_cik_map() assert cik_map["ticker"][lookup.upper()] == cik
def test_get_cik_map_smoke(self): cik_map = get_cik_map() assert "ticker" in cik_map and "title" in cik_map assert cik_map["ticker"] and cik_map["title"]
def test_get_cik_map_no_mocks(self, monkeypatch): monkeypatch.undo() cik_map = get_cik_map() assert "ticker" in cik_map and "title" in cik_map assert cik_map["ticker"] and cik_map["title"]