Files
OpenBB/tests/openbb_terminal/forex/test_fxempire_view.py
Colin Delahunty ee34a1f278 Feature/add isort linter (#4114)
* Fixed isort

* Fixed issues

* FIxed linters

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-04 21:24:47 -05:00

21 lines
427 B
Python

import pytest
from openbb_terminal.forex.fxempire_view import display_forward_rates
@pytest.fixture(scope="module")
def vcr_config():
return {"filter_headers": [("User-Agent", None)]}
@pytest.mark.vcr
@pytest.mark.record_stdout
def test_forwards():
display_forward_rates("USD", "EUR")
@pytest.mark.vcr
@pytest.mark.record_stdout
def test_forwards_not_known():
display_forward_rates("HUGYDIBWU", "GWUBWYBCY")