Skip to content

Commit

Permalink
fix some bad integration test params (#6964)
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleeramone authored Nov 26, 2024
1 parent bde8aba commit cf36a2f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
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

0 comments on commit cf36a2f

Please sign in to comment.