diff options
Diffstat (limited to 'openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py')
-rw-r--r-- | openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py b/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py index 8ec7382d867..b319d94ca37 100644 --- a/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py +++ b/openbb_platform/providers/intrinio/tests/test_intrinio_fetchers.py @@ -118,7 +118,13 @@ def test_intrinio_currency_pairs_fetcher(credentials=test_credentials): @pytest.mark.record_http def test_intrinio_company_news_fetcher(credentials=test_credentials): """Test company news fetcher.""" - params = {"symbol": "AAPL"} + params = { + "symbol": "AAPL", + "limit": 50, + "source": "yahoo", + "start_date": date(2024, 1, 2), + "end_date": date(2024, 1, 3), + } fetcher = IntrinioCompanyNewsFetcher() result = fetcher.test(params, credentials) @@ -128,7 +134,12 @@ def test_intrinio_company_news_fetcher(credentials=test_credentials): @pytest.mark.record_http def test_intrinio_world_news_fetcher(credentials=test_credentials): """Test world news fetcher.""" - params = {} + params = { + "limit": 50, + "source": "yahoo", + "start_date": date(2024, 1, 2), + "end_date": date(2024, 1, 3), + } fetcher = IntrinioWorldNewsFetcher() result = fetcher.test(params, credentials) |