File size: 384 Bytes
2aaf2a2 |
1 2 3 4 5 6 7 8 9 10 11 12 |
import sys
import os
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
from utils import yfinance_utils
import pandas as pd
def test_fetch_yfinance_daily_real():
result = yfinance_utils.fetch_yfinance_daily('MSFT', '2023-01-01', '2023-01-10')
assert result is not None
assert not result.empty
assert isinstance(result, pd.Series) |