mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-02 12:30:45 +08:00
TST: Adds tearDownClass methods to delete TradingEnvironments
This commit is contained in:
@@ -91,6 +91,10 @@ class AlgorithmGeneratorTestCase(TestCase):
|
||||
cls.env = trading.TradingEnvironment()
|
||||
cls.env.write_data(equities_identifiers=[8229])
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
del cls.env
|
||||
|
||||
def setUp(self):
|
||||
setup_logger(self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user