From b9a4918d61e0138486b2367f0ae6c795dd475133 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 3 Jan 2026 14:33:08 +0100 Subject: [PATCH] test: reset converter before and after fiat conversions --- tests/rpc/test_fiat_convert.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/rpc/test_fiat_convert.py b/tests/rpc/test_fiat_convert.py index a67ff9b33..8d58113f0 100644 --- a/tests/rpc/test_fiat_convert.py +++ b/tests/rpc/test_fiat_convert.py @@ -16,6 +16,8 @@ from tests.conftest import log_has, log_has_re def reset_singleton_instance(): # Reset the singleton instance before each test CryptoToFiatConverter._instances = {} + yield + CryptoToFiatConverter._instances = {} def test_fiat_convert_is_singleton():