mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
[V5] Refactor Shared Pass Through Router Extensions For Hatchling (#7524)
* refactor shared pass-through routers for hatchling and ruff + ty * add publish workflows
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
import pytest
|
||||
from openbb_core.app.model.obbject import OBBject
|
||||
|
||||
# pylint: disable=redefined-outer-name
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def obb(pytestconfig): # pylint: disable=inconsistent-return-statements
|
||||
def obb(pytestconfig):
|
||||
"""Fixture to setup obb."""
|
||||
if pytestconfig.getoption("markexpr") != "not integration":
|
||||
import openbb # pylint: disable=import-outside-toplevel
|
||||
import openbb
|
||||
|
||||
return openbb.obb
|
||||
|
||||
pytest.skip("Integration tests are not enabled.")
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"params",
|
||||
|
||||
Reference in New Issue
Block a user