Skip to content

Commit

Permalink
fix: added statics for sp600
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Dieck committed Nov 23, 2022
1 parent f22c6a2 commit 89eb0cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pytickersymbols/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Indices:
CH_20 = 'Switzerland 20'
FR_CAC_40 = 'CAC 40'
US_SP_500 = 'S&P 500'
US_SP_600 = 'S&P 600'
SE_OMX_30 = 'OMX Stockholm 30'
BE_20 = 'BEL 20'
DE_MDAX = 'MDAX'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_dynamic_methods(self):
lambda x: (
x.endswith('_google_tickers') or x.endswith('_yahoo_tickers')
)
and '_moscow' not in x and '_cdax' not in x,
and '_moscow' not in x and '_cdax' not in x and 'sp_600_' not in x ,
myvars,
):
result = getattr(stock_data, method)()
Expand Down

0 comments on commit 89eb0cf

Please sign in to comment.