mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
test
This commit is contained in:
@@ -44,31 +44,6 @@ def test_get_etf_holdings(recorder, ticker):
|
||||
recorder.capture(result)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"ticker",
|
||||
[
|
||||
"ARKK",
|
||||
],
|
||||
)
|
||||
@pytest.mark.parametrize(
|
||||
"start_date",
|
||||
[
|
||||
"2022-09-01",
|
||||
],
|
||||
)
|
||||
@pytest.mark.parametrize(
|
||||
"end_date",
|
||||
[
|
||||
"2023-09-01",
|
||||
],
|
||||
)
|
||||
def test_get_holdings_pct_change(recorder, ticker: str, start_date: str, end_date: str):
|
||||
result = fmp_model.get_holdings_pct_change(ticker, start_date, end_date)
|
||||
|
||||
assert not result.empty
|
||||
recorder.capture(result)
|
||||
|
||||
|
||||
@pytest.mark.vcr
|
||||
@pytest.mark.parametrize(
|
||||
"ticker",
|
||||
|
||||
Reference in New Issue
Block a user