Skip to content

Commit c4d5848

Browse files
add another test
1 parent 5f3895e commit c4d5848

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pandas_datareader/tests/test_econdb.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ def assert_equal(x, y):
1212

1313

1414
class TestEcondb(object):
15+
16+
def test_override_start_end(self):
17+
df = web.DataReader(
18+
'&'.join([
19+
'dataset=RBI_BULLETIN',
20+
'v=TIME',
21+
'h=Indicator',
22+
'from=2022-01-01',
23+
'to=2022-07-01'
24+
]),
25+
'econdb',
26+
start='2020-01-01',
27+
end='2022-01-01'
28+
)
29+
assert isinstance(df.index, pd.DatetimeIndex)
30+
1531
def test_infer_start_end_from_symbols(self):
1632
df = web.DataReader(
1733
(

0 commit comments

Comments
 (0)