ENH: New batch_transform feature: compute_only_full.

This commit is contained in:
Thomas Wiecki
2013-01-07 12:44:55 -05:00
committed by Eddie Hebert
parent d1dace948e
commit 0f88e4133d
3 changed files with 25 additions and 11 deletions
+3
View File
@@ -359,6 +359,9 @@ class TestBatchTransform(TestCase):
for data in algo.history_return_ticks[wl:]:
self.assertTrue(isinstance(data, deque))
for data in algo.history_return_not_full:
self.assertIsNot(data, None)
# test overloaded class
for test_history in [algo.history_return_price_class,
algo.history_return_price_decorator]: