mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Fix test (#5916)
* Fix test * Skip ultima integration tests --------- Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
@@ -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",
|
||||
[
|
||||
|
||||
@@ -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
|
||||
@@ -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",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user