Files
OpenBB/tests/openbb_terminal/cryptocurrency/due_diligence/test_pycoingecko_model.py
Colin Delahunty 5bc7bc070e Tests over API Best Practices (#2344)
* Started new tests

* Added special function

* Improved dict

* Finished new test

* Got bad functions to 75

* Got bad func to 73

* Bad func down to 60

* Bad func down to 50

* Bad func down to 35

* Got bad func to 30

* No more bad functions

* Added tests

* Added fix

* Fixed some tests

* Fixed some tests

* Fixed some tests

* Fixed some tests

* Added tests to CI

* Fixed CI tests

* Fixed CI tests

* Imrproved CI tests

* Fixed reports

* Fixed reports

* Added stuff

* Removed CI

* Fixed

* Fixed some typing'

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
2022-09-22 22:31:46 +01:00

14 lines
389 B
Python

import pytest
from openbb_terminal.cryptocurrency.due_diligence import pycoingecko_model
@pytest.mark.skip
@pytest.mark.parametrize(
"main_coin,vs",
[("algorand", "bitcoin"), ("solana", "ethereum")],
)
def test_get_coin_potential_returns(main_coin, vs, recorder):
df = pycoingecko_model.get_coin_potential_returns(main_coin=main_coin, to_symbol=vs)
recorder.capture(df)