Files
OpenBB/tests/bots/etf/test_tops.py
Artem Veremey b7d30c22dd Updating dependencies and putting kaleido into a shibajail (#1592)
* Updating dependencies and putting kaleido into a shibajail

* Downgrading jinja2 to accomodate papermill

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-29 12:26:12 -07:00

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)