TEST: Pass cls.env for test_handle_adjustment.

Otherwise we inseret random assets into a new TradingEnvironment, which
is surprising in debugging.
This commit is contained in:
Scott Sanderson
2015-09-29 19:19:58 -04:00
parent 8e59d12daf
commit eb997bb5f8
+1
View File
@@ -494,6 +494,7 @@ class FFCAlgorithmTestCase(TestCase):
ffc_loader=self.ffc_loader,
start=self.dates[max(window_lengths)],
end=self.dates[-1],
env=self.env,
)
algo.run(