diff options
author | Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com> | 2024-01-03 18:40:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 17:40:18 +0000 |
commit | c43100d209296b6d03569a82bdb45abe003593fa (patch) | |
tree | 4cb497388d0bb1d8d4a7d3243f0baf160d9e268c | |
parent | 5c4ac285b03bb7f617738c148ca72c6f10c8ad5f (diff) |
Fix test (#5916)
* Fix test
* Skip ultima integration tests
---------
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
4 files changed, 16 insertions, 14 deletions
diff --git a/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py b/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py index 1f1b1b09dc9..0add3c560b6 100644 --- a/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py +++ b/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py @@ -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", diff --git a/openbb_platform/extensions/fixedincome/integration/test_fixedincome_python.py b/openbb_platform/extensions/fixedincome/integration/test_fixedincome_python.py index d95cb2aa917..b3ab5575446 100644 --- a/openbb_platform/extensions/fixedincome/integration/test_fixedincome_python.py +++ b/openbb_platform/extensions/fixedincome/integration/test_fixedincome_python.py @@ -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", diff --git a/openbb_platform/extensions/news/integration/test_news_api.py b/openbb_platform/extensions/news/integration/test_news_api.py index 78e9e3cb8cb..746c62933f7 100644 --- a/openbb_platform/extensions/news/integration/test_news_api.py +++ b/openbb_platform/extensions/news/integration/test_news_api.py @@ -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", [ diff --git a/openbb_platform/extensions/news/integration/test_news_python.py b/openbb_platform/extensions/news/integration/test_news_python.py index 6a7ca2bfd97..574e4f7cf5b 100644 --- a/openbb_platform/extensions/news/integration/test_news_python.py +++ b/openbb_platform/extensions/news/integration/test_news_python.py @@ -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", [ |