mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-27 11:41:32 +00:00
Remove ultima from deps (#5736)
* remove ultima from deps * skip ultima test * black * change skip location * try except statement to avoid error on the ci
This commit is contained in:
@@ -46,7 +46,6 @@ openbb-finra = { path = "./providers/finra", develop = true }
|
||||
openbb-nasdaq = { path = "./providers/nasdaq", optional = true, develop = true }
|
||||
openbb-seeking-alpha = { path = "./providers/seeking_alpha", optional = true, develop = true }
|
||||
openbb-stockgrid = { path = "./providers/stockgrid" ,optional = true, develop = true }
|
||||
openbb-ultima = { path = "./providers/ultima", optional = true, develop = true }
|
||||
openbb-wsj = { path = "./providers/wsj", develop = true }
|
||||
openbb-yfinance = { path = "./providers/yfinance", optional = true, develop = true }
|
||||
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
import pytest
|
||||
from openbb_core.app.service.user_service import UserService
|
||||
from openbb_ultima.models.company_news import UltimaCompanyNewsFetcher
|
||||
|
||||
try:
|
||||
from openbb_ultima.models.company_news import UltimaCompanyNewsFetcher
|
||||
except ImportError:
|
||||
pytest.skip("openbb-ultima is not installed on the CI.", allow_module_level=True)
|
||||
|
||||
test_credentials = UserService().default_user_settings.credentials.model_dump(
|
||||
mode="json"
|
||||
@@ -21,6 +25,7 @@ def vcr_config():
|
||||
|
||||
|
||||
@pytest.mark.record_http
|
||||
@pytest.mark.skip(reason="openbb-ultima is not installed on the CI.")
|
||||
def test_ultima_company_news_fetcher(credentials=test_credentials):
|
||||
params = {"symbols": "AAPL, MSFT"}
|
||||
|
||||
|
||||
1
openbb_platform/pyproject.toml
vendored
1
openbb_platform/pyproject.toml
vendored
@@ -78,7 +78,6 @@ all = [
|
||||
"openbb-seeking-alpha",
|
||||
"openbb-stockgrid",
|
||||
"openbb-technical",
|
||||
"openbb-ultima",
|
||||
"openbb-wsj",
|
||||
"openbb-yfinance",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user