mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-01 23:12:21 +00:00
* Added common/helper tests * expanded bot testing * few changes * import fix * missed removing test config * column order fix * import fix * removed df2img add new deps * req * update readme * add dep for image export, fix * get rid of yahoo-fin, add image export lib * import issues in some machines fix * images dir fix * init fix * fix? * test * test * Fixed text handling * missed a tbl * Fixed tests * Fixed poetry * Fixed kaliedo * Fixed codecov * Fixed dependencies * Added fix * FIxed tests * Added image cleanup * Added tests * Fixed tests * Added test fix * Added conda * Updated bot path * refactor * poetry * update dict/ fix slack image upload * Update config_discordbot.py * Updated * Fixed tests * Skipped energy * fixes * black * fix * import * fix nan on smile * added env settings * add cmds_text dict, some chgs * merge bot test fixes * fix duplicate Co-authored-by: teh_coderer <me@tehcoderer.com> Co-authored-by: Colin Delahunty <colindelahunty@MacBook-Pro.local> Co-authored-by: Chavithra <chavithra@gmail.com>
15 lines
413 B
Python
15 lines
413 B
Python
import pytest
|
|
|
|
from bots.etf.tops import etfs_disc_command
|
|
|
|
|
|
@pytest.mark.parametrize("sort", ["active"])
|
|
@pytest.mark.vcr
|
|
def test_etfs_disc_command(mocker, recorder, sort):
|
|
mocker.patch("bots.helpers.uuid_get", return_value="1")
|
|
value = etfs_disc_command(sort)
|
|
for key, value in value.items():
|
|
key = str(value)
|
|
print(f"{key}: {type(value)}-{str(value)}")
|
|
recorder.capture(value)
|