mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-15 22:02:31 +00:00
23 lines
475 B
Python
23 lines
475 B
Python
# IMPORTATION THIRDPARTY
|
|
import pytest
|
|
|
|
# IMPORTATION INTERNAL
|
|
from gamestonk_terminal.stocks.discovery import cramer_model
|
|
|
|
|
|
@pytest.fixture(scope="module")
|
|
def vcr_config():
|
|
return {
|
|
"filter_headers": [("User-Agent", None)],
|
|
}
|
|
|
|
|
|
@pytest.mark.vcr()
|
|
@pytest.mark.parametrize(
|
|
"inverse",
|
|
[True, False],
|
|
)
|
|
def test_get_orders(recorder, inverse):
|
|
recommendations = cramer_model.get_cramer_daily(inverse=inverse)
|
|
recorder.capture(recommendations)
|