mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
test: reset converter before and after fiat conversions
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user