mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 02:33:10 +00:00
Rename the fmp search -> screener (#5744)
* Rename the fmp search -> screener * misses some * i cant copy paste
This commit is contained in:
@@ -897,6 +897,41 @@ def test_equity_search(params, obb):
|
||||
assert len(result.results) > 0
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"params",
|
||||
[
|
||||
(
|
||||
{
|
||||
"industry": "REIT",
|
||||
"sector": "Real Estate",
|
||||
"mktcap_min": None,
|
||||
"mktcap_max": None,
|
||||
"price_min": None,
|
||||
"price_max": None,
|
||||
"volume_min": None,
|
||||
"volume_max": None,
|
||||
"dividend_min": None,
|
||||
"dividend_max": None,
|
||||
"is_active": True,
|
||||
"is_etf": False,
|
||||
"beta_min": None,
|
||||
"beta_max": None,
|
||||
"country": "US",
|
||||
"exchange": "nyse",
|
||||
"limit": None,
|
||||
"provider": "fmp",
|
||||
}
|
||||
),
|
||||
],
|
||||
)
|
||||
@pytest.mark.integration
|
||||
def test_equity_screener(params, obb):
|
||||
result = obb.equity.screener(**params)
|
||||
assert result
|
||||
assert isinstance(result, OBBject)
|
||||
assert len(result.results) > 0
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"params",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user