diff options
author | James Maslek <jmaslek11@gmail.com> | 2023-10-03 10:29:31 -0400 |
---|---|---|
committer | James Maslek <jmaslek11@gmail.com> | 2023-10-03 10:29:31 -0400 |
commit | db5e198a34e08e47340af666840079409d8ab09d (patch) | |
tree | ba7294a832e1cbf0e811321f1fca5033fb5ae12b | |
parent | 6237bab7a9be38c6b2c8f774ce226a51b8e1c821 (diff) |
tests
3 files changed, 12 insertions, 1 deletions
diff --git a/tests/openbb_terminal/etf/csv/test_fmp_model/test_get_holdings_pct_change[2023-09-01-2022-09-01-ARKK].csv b/tests/openbb_terminal/etf/csv/test_fmp_model/test_get_holdings_pct_change[2023-09-01-2022-09-01-ARKK].csv index 09bd5b648a0..1bd705edd57 100644 --- a/tests/openbb_terminal/etf/csv/test_fmp_model/test_get_holdings_pct_change[2023-09-01-2022-09-01-ARKK].csv +++ b/tests/openbb_terminal/etf/csv/test_fmp_model/test_get_holdings_pct_change[2023-09-01-2022-09-01-ARKK].csv @@ -1 +1,11 @@ ,Ticker,Name,Percent Change +4,EXAS,EXACT SCIENCES CORP,134.98896247240614 +7,SHOP,SHOPIFY INC - CLASS A,113.33546530220659 +9,DKNG,DRAFTKINGS INC-CL A,85.71428571428571 +2,ROKU,ROKU INC,19.648609077598834 +3,COIN,COINBASE GLOBAL INC -CLASS A,19.01419197314206 +6,PATH,UIPATH INC - CLASS A,-1.670792079207918 +0,TSLA,TESLA INC,-11.599797950642241 +1,ZM,ZOOM VIDEO COMMUNICATIONS-A,-11.609563717032293 +5,SQ,BLOCK INC,-15.389090909090905 +8,TDOC,TELADOC HEALTH INC,-25.746753246753247 diff --git a/tests/openbb_terminal/etf/test_fmp_model.py b/tests/openbb_terminal/etf/test_fmp_model.py index 3b6ef6dd919..868b4f35dbf 100644 --- a/tests/openbb_terminal/etf/test_fmp_model.py +++ b/tests/openbb_terminal/etf/test_fmp_model.py @@ -65,7 +65,7 @@ def test_get_etf_holdings(recorder, ticker): 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 result.empty + assert not result.empty recorder.capture(result) diff --git a/tests/openbb_terminal/etf/txt/test_etf_controller/test_print_help.txt b/tests/openbb_terminal/etf/txt/test_etf_controller/test_print_help.txt index e469922e3cc..ef790344a67 100644 --- a/tests/openbb_terminal/etf/txt/test_etf_controller/test_print_help.txt +++ b/tests/openbb_terminal/etf/txt/test_etf_controller/test_print_help.txt @@ -9,6 +9,7 @@ Major holdings: [unvl] overview get overview[/unvl] [StockAnalysis] [unvl] holdings top company holdings[/unvl] [StockAnalysis] +[unvl] holding_perf Performance of holdings in ETF.[/unvl] [FinancialModelingPrep] [unvl] weights sector weights allocation[/unvl] [FinancialModelingPrep] [unvl] news latest news of the company[/unvl] [NewsApi] [unvl] candle view a candle chart for ETF[/unvl] |