Skip to content

Commit

Permalink
Update test_get_series_exp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin authored Sep 4, 2024
1 parent 327af43 commit db2e505
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions evdspy/EVDSlocal/tests/test_get_series_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@ def fnc(item: Any) -> Result:

DF = pd.DataFrame


def test_get_series_exp(capsys):
with capsys.disabled():
items = [index1, index2, indexes, index_table]

for item in items:
result: Result = fnc(item)
# we will check if this function handles all data types correctly
# then examine the last one to see what we get as a result from the function

assert isinstance(result.data, DF)
assert isinstance(result.metadata, DF)
assert callable(result.write)
assert callable(result.to_excel)

0 comments on commit db2e505

Please sign in to comment.