mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-11 11:16:15 +08:00
TST: Cleaned up test references to adjustments db
If we don't clean them up, then windows can delete the temp dir with the db.
This commit is contained in:
@@ -131,6 +131,8 @@ class TestMinuteBarData(TestBarDataBase):
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
del cls.data_portal
|
||||
del cls.adjustments_reader
|
||||
cls.tempdir.cleanup()
|
||||
|
||||
@classmethod
|
||||
@@ -564,6 +566,8 @@ class TestDailyBarData(TestBarDataBase):
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
del cls.data_portal
|
||||
del cls.adjustments_reader
|
||||
cls.tempdir.cleanup()
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user