Skip to content

Commit 3069a2b

Browse files
authored
ENH: Update stooq test to include index
1 parent 7949e60 commit 3069a2b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pandas_datareader/tests/test_stooq.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,13 @@ def test_get_data_stooq_dji():
1515
def test_get_data_stooq_dates():
1616
f = get_data_stooq('SPY', start='20180101', end='20180115')
1717
assert f.shape[0] == 9
18+
19+
20+
def test_stooq_sp500():
21+
f = get_data_stooq('^SPX')
22+
assert f.shape[0] > 0
23+
24+
25+
def test_get_data_stooq_dax():
26+
f = get_data_stooq('^DAX')
27+
assert f.shape[0] > 0

0 commit comments

Comments
 (0)