Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] Tests: Fix Some Bad Integration Test Params #6964

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def headers():
{
"symbol": "AAPL",
"period": "annual",
"limit": 12,
"limit": 5,
"provider": "yfinance",
}
),
Expand Down Expand Up @@ -211,7 +211,7 @@ def test_equity_calendar_earnings(params, headers):
{
"symbol": "AAPL",
"period": "annual",
"limit": 12,
"limit": 5,
"provider": "yfinance",
}
),
Expand Down Expand Up @@ -516,7 +516,7 @@ def test_equity_estimates_forward_eps(params, headers):
{
"symbol": "AAPL",
"period": "annual",
"limit": 12,
"limit": 5,
"provider": "yfinance",
}
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def obb(pytestconfig):
{
"symbol": "AAPL",
"period": "annual",
"limit": 12,
"limit": 5,
"provider": "yfinance",
}
),
Expand Down Expand Up @@ -196,7 +196,7 @@ def test_equity_calendar_earnings(params, obb):
{
"symbol": "AAPL",
"period": "annual",
"limit": 12,
"limit": 5,
"provider": "yfinance",
}
),
Expand Down Expand Up @@ -411,7 +411,7 @@ def test_equity_estimates_historical(params, obb):
{
"provider": "yfinance",
"symbol": "AAPL",
"limit": 12,
"limit": 5,
"period": "annual",
}
),
Expand Down
14 changes: 7 additions & 7 deletions openbb_platform/extensions/news/integration/test_news_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,18 +119,18 @@ def test_news_world(params, headers):
(
{
"display": "full",
"date": "2023-01-01",
"start_date": "2023-01-01",
"date": None,
"start_date": "2023-06-01",
"end_date": "2023-06-06",
"updated_since": 1,
"published_since": 1,
"sort": "created",
"order": "desc",
"isin": "US0378331005",
"cusip": "037833100",
"channels": "General",
"order": "asc",
"isin": None,
"cusip": None,
"channels": None,
"topics": "AAPL",
"authors": "Benzinga Insights",
"authors": None,
"content_types": "headline",
"provider": "benzinga",
"symbol": "AAPL,MSFT",
Expand Down
18 changes: 9 additions & 9 deletions openbb_platform/extensions/news/integration/test_news_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ def obb(pytestconfig): # pylint: disable=inconsistent-return-statements
(
{
"display": "full",
"date": "2023-01-01",
"start_date": "2023-01-01",
"end_date": "2023-06-06",
"updated_since": 900000,
"published_since": 900000,
"date": None,
"start_date": "2023-05-01",
"end_date": "2023-05-31",
"updated_since": None,
"published_since": None,
"sort": "created",
"order": "desc",
"isin": "US0378331005",
"cusip": "037833100",
"order": "asc",
"isin": None,
"cusip": None,
"channels": "General",
"topics": "car",
"authors": "Benzinga Insights",
"authors": None,
"content_types": "Car",
"provider": "benzinga",
"limit": 20,
Expand Down