summaryrefslogtreecommitdiffstats
path: root/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py')
-rw-r--r--openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py b/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py
index b319d94ca37..8c2217c92c7 100644
--- a/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py
+++ b/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py
@@ -25,6 +25,9 @@ from openbb_intrinio.models.financial_ratios import IntrinioFinancialRatiosFetch
from openbb_intrinio.models.forward_eps_estimates import (
IntrinioForwardEpsEstimatesFetcher,
)
+from openbb_intrinio.models.forward_pe_estimates import (
+ IntrinioForwardPeEstimatesFetcher,
+)
from openbb_intrinio.models.forward_sales_estimates import (
IntrinioForwardSalesEstimatesFetcher,
)
@@ -505,3 +508,13 @@ def test_intrinio_price_target_consensus_fetcher(credentials=test_credentials):
fetcher = IntrinioPriceTargetConsensusFetcher()
result = fetcher.test(params, credentials)
assert result is None
+
+
+@pytest.mark.record_http
+def test_intrinio_forward_pe_fetcher(credentials=test_credentials):
+ """Test forward pe fetcher."""
+ params = {"symbol": "AAPL,MSFT"}
+
+ fetcher = IntrinioForwardPeEstimatesFetcher()
+ result = fetcher.test(params, credentials)
+ assert result is None