mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 13:32:08 +00:00
* fix(docs): added margin between sections * feat: added hn command * fix: added log decorator Co-authored-by: James Maslek <jmaslek11@gmail.com>
20 lines
346 B
Python
20 lines
346 B
Python
# IMPORTATION STANDARD
|
|
|
|
# IMPORTATION THIRDPARTY
|
|
import pytest
|
|
|
|
# IMPORTATION INTERNAL
|
|
from openbb_terminal.alternative.hackernews_model import get_stories
|
|
|
|
|
|
@pytest.mark.vcr
|
|
@pytest.mark.parametrize(
|
|
"limit",
|
|
[(5), (10)],
|
|
)
|
|
def test_get_stories(limit, recorder):
|
|
df = get_stories(
|
|
limit=limit,
|
|
)
|
|
recorder.capture(df)
|