Make sure backtesting is cleaned up in tests

This commit is contained in:
Matthias
2022-02-24 06:25:21 +01:00
parent 53452c8d64
commit 42df65d4ec
3 changed files with 11 additions and 4 deletions

View File

@@ -128,7 +128,8 @@ class Backtesting:
def __del__(self):
self.cleanup()
def cleanup(self):
@staticmethod
def cleanup():
LoggingMixin.show_output = True
PairLocks.use_db = True
Trade.use_db = True