mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 09:52:13 +00:00
* Updating dependencies and putting kaleido into a shibajail * Downgrading jinja2 to accomodate papermill Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
16 lines
431 B
Python
16 lines
431 B
Python
import pytest
|
|
|
|
from bots.etf.tops import etfs_disc_command
|
|
|
|
|
|
@pytest.mark.bots
|
|
@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)
|