mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 04:31:13 +00:00
* Updating dependencies and putting kaleido into a shibajail * Downgrading jinja2 to accomodate papermill Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
30 lines
577 B
Python
30 lines
577 B
Python
# IMPORTATION STANDARD
|
|
|
|
# IMPORTATION THIRDPARTY
|
|
import pytest
|
|
|
|
# IMPORTATION INTERNAL
|
|
from openbb_terminal.stocks.technical_analysis import tradingview_view
|
|
|
|
|
|
@pytest.fixture(scope="module")
|
|
def vcr_config():
|
|
return {
|
|
"filter_query_parameters": [
|
|
("apikey", "MOCK_API_KEY"),
|
|
]
|
|
}
|
|
|
|
|
|
@pytest.mark.linux
|
|
@pytest.mark.vcr
|
|
# @pytest.mark.record_stdout
|
|
def test_print_recommendation():
|
|
tradingview_view.print_recommendation(
|
|
ticker="AAPL",
|
|
exchange="",
|
|
screener="america",
|
|
interval="",
|
|
export="",
|
|
)
|