* Fix test

* Skip ultima integration tests

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
This commit is contained in:
Igor Radovanovic
2024-01-03 18:40:18 +01:00
committed by GitHub
parent 5c4ac285b0
commit c43100d209
4 changed files with 16 additions and 14 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",
[

View File

@@ -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",
[