From d7ccbfef209b14a3e191ce4fd2122f08d1b76b5d Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 25 Dec 2024 17:37:21 +0100 Subject: [PATCH] test: improve test accuracy --- tests/rpc/test_rpc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/rpc/test_rpc.py b/tests/rpc/test_rpc.py index 9bb8d64ea..ff4e326ac 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -270,6 +270,7 @@ def test_rpc_status_table(default_conf, ticker, fee, mocker) -> None: assert "-0.00" == f"{fiat_profit_sum:.2f}" # Test with fiat convert + rpc._config["fiat_display_currency"] = "USD" rpc._fiat_converter = CryptoToFiatConverter({}) result, headers, fiat_profit_sum = rpc._rpc_status_table(default_conf["stake_currency"], "USD") assert "Since" in headers