mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-01 23:12:21 +00:00
* Fixed isort * Fixed issues * FIxed linters --------- Co-authored-by: James Maslek <jmaslek11@gmail.com>
21 lines
427 B
Python
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")
|