summaryrefslogtreecommitdiffstats
path: root/openbb_platform/providers/fmp/tests/test_fmp_fetchers.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/providers/fmp/tests/test_fmp_fetchers.py')
-rw-r--r--openbb_platform/providers/fmp/tests/test_fmp_fetchers.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/openbb_platform/providers/fmp/tests/test_fmp_fetchers.py b/openbb_platform/providers/fmp/tests/test_fmp_fetchers.py
index e1b25d3bebb..46aee30de48 100644
--- a/openbb_platform/providers/fmp/tests/test_fmp_fetchers.py
+++ b/openbb_platform/providers/fmp/tests/test_fmp_fetchers.py
@@ -44,6 +44,7 @@ from openbb_fmp.models.etf_search import FMPEtfSearchFetcher
from openbb_fmp.models.etf_sectors import FMPEtfSectorsFetcher
from openbb_fmp.models.executive_compensation import FMPExecutiveCompensationFetcher
from openbb_fmp.models.financial_ratios import FMPFinancialRatiosFetcher
+from openbb_fmp.models.forward_eps_estimates import FMPForwardEpsEstimatesFetcher
from openbb_fmp.models.historical_dividends import FMPHistoricalDividendsFetcher
from openbb_fmp.models.historical_employees import FMPHistoricalEmployeesFetcher
from openbb_fmp.models.historical_eps import FMPHistoricalEpsFetcher
@@ -668,3 +669,17 @@ def test_fmp_currency_snapshots_fetcher(credentials=test_credentials):
fetcher = FMPCurrencySnapshotsFetcher()
result = fetcher.test(params, credentials)
assert result is None
+
+
+@pytest.mark.record_http
+def test_fmp_equity_forward_eps_fetcher(credentials=test_credentials):
+ params = {
+ "symbol": "MSFT,AAPL",
+ "fiscal_period": "annual",
+ "include_historical": False,
+ "limit": None,
+ }
+
+ fetcher = FMPForwardEpsEstimatesFetcher()
+ result = fetcher.test(params, credentials)
+ assert result is None