test: reset converter before and after fiat conversions

This commit is contained in:
Matthias
2026-01-03 14:33:08 +01:00
parent 0d7127bb6a
commit b9a4918d61

View File

@@ -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():