mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 23:09:41 +08:00
DEV: Allow test_minute_tracker to run by itself.
TradingEnvironment was not set, so this test could not be run in isolation.
This commit is contained in:
@@ -1031,6 +1031,7 @@ class TestPerformanceTracker(unittest.TestCase):
|
||||
|
||||
return event
|
||||
|
||||
@trading.use_environment(trading.TradingEnvironment())
|
||||
def test_minute_tracker(self):
|
||||
""" Tests minute performance tracking."""
|
||||
start_dt = trading.environment.exchange_dt_in_utc(
|
||||
|
||||
Reference in New Issue
Block a user