Skip to content

Commit

Permalink
Fix test (#5916)
Browse files Browse the repository at this point in the history
* Fix test

* Skip ultima integration tests

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
  • Loading branch information
IgorWounds and the-praxs committed Jan 3, 2024
1 parent 5c4ac28 commit c43100d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def test_fixedincome_government_treasury_auctions(params, headers):
),
(
{
"date": None,
"date": "2023-11-16",
"cusip": None,
"security_type": "bill",
"provider": "government_us",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def test_fixedincome_government_treasury_auctions(params, obb):
),
(
{
"date": None,
"date": "2023-11-16",
"cusip": None,
"security_type": "bill",
"provider": "government_us",
Expand Down
13 changes: 7 additions & 6 deletions openbb_platform/extensions/news/integration/test_news_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ def test_news_world(params, headers):
"source": "bloomberg.com",
}
),
(
{
"provider": "ultima",
"sectors": "Real Estate",
}
),
# (
# {
# "provider": "ultima",
# "sectors": "Real Estate",
# }
# ),
],
)
@pytest.mark.integration
Expand All @@ -166,6 +166,7 @@ def test_news_company(params, headers):
assert result.status_code == 200


@pytest.mark.skip("openbb-ultima is not installed on the CI.")
@parametrize(
"params",
[
Expand Down
13 changes: 7 additions & 6 deletions openbb_platform/extensions/news/integration/test_news_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ def test_news_world(params, obb):
"source": "bloomberg.com",
}
),
(
{
"provider": "ultima",
"symbols": "AAPL,MSFT",
}
),
# (
# {
# "provider": "ultima",
# "symbols": "AAPL,MSFT",
# }
# ),
],
)
@pytest.mark.integration
Expand All @@ -159,6 +159,7 @@ def test_news_company(params, obb):
assert len(result.results) > 0


@pytest.mark.skip("openbb-ultima is not installed on the CI.")
@parametrize(
"params",
[
Expand Down

0 comments on commit c43100d

Please sign in to comment.