Files
OpenBB/tests/gamestonk_terminal/stocks/discovery/test_cramer_view.py
2022-03-02 11:42:33 -05:00

23 lines
438 B
Python

# IMPORTATION THIRDPARTY
import pytest
# IMPORTATION INTERNAL
from gamestonk_terminal.stocks.discovery import cramer_view
@pytest.fixture(scope="module")
def vcr_config():
return {
"filter_headers": [("User-Agent", None)],
}
@pytest.mark.vcr()
@pytest.mark.record_stdout
@pytest.mark.parametrize(
"inverse",
[True, False],
)
def test_get_orders(inverse):
cramer_view.display_cramer_daily(inverse=inverse)