mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-09 10:51:57 +00:00
Check if outdated (#5898)
This commit is contained in:
@@ -246,45 +246,3 @@ def test_etf_holdings_performance(params, obb):
|
||||
assert result
|
||||
assert isinstance(result, OBBject)
|
||||
assert len(result.results) > 0
|
||||
|
||||
|
||||
@parametrize(
|
||||
"params",
|
||||
[({"sort": "desc", "limit": 10})],
|
||||
)
|
||||
@pytest.mark.integration
|
||||
def test_etf_discovery_gainers2(params, obb):
|
||||
params = {p: v for p, v in params.items() if v}
|
||||
|
||||
result = obb.etf.discovery.gainers(**params)
|
||||
assert result
|
||||
assert isinstance(result, OBBject)
|
||||
assert len(result.results) > 0
|
||||
|
||||
|
||||
@parametrize(
|
||||
"params",
|
||||
[({"sort": "desc", "limit": 10})],
|
||||
)
|
||||
@pytest.mark.integration
|
||||
def test_etf_discovery_losers2(params, obb):
|
||||
params = {p: v for p, v in params.items() if v}
|
||||
|
||||
result = obb.etf.discovery.losers(**params)
|
||||
assert result
|
||||
assert isinstance(result, OBBject)
|
||||
assert len(result.results) > 0
|
||||
|
||||
|
||||
@parametrize(
|
||||
"params",
|
||||
[({"sort": "desc", "limit": 10})],
|
||||
)
|
||||
@pytest.mark.integration
|
||||
def test_etf_discovery_active2(params, obb):
|
||||
params = {p: v for p, v in params.items() if v}
|
||||
|
||||
result = obb.etf.discovery.active(**params)
|
||||
assert result
|
||||
assert isinstance(result, OBBject)
|
||||
assert len(result.results) > 0
|
||||
|
||||
Reference in New Issue
Block a user