BUG: we were improperly checking iterable kwargs in BarData

This commit is contained in:
Jean Bredeche
2016-04-21 11:06:46 -04:00
parent 2826226431
commit c323506f40
3 changed files with 14 additions and 3 deletions
+3
View File
@@ -132,6 +132,7 @@ from zipline.test_algorithms import (
bad_type_history_fields,
bad_type_history_bar_count,
bad_type_history_frequency,
bad_type_history_assets_kwarg_list,
bad_type_current_assets,
bad_type_current_fields,
bad_type_can_trade_assets,
@@ -1333,6 +1334,8 @@ class TestAlgoScript(WithLogger,
('can_trade__assets', (bad_type_can_trade_assets, 'Asset', True)),
('history_kwarg__assets',
(bad_type_history_assets_kwarg, 'Asset, str', True)),
('history_kwarg_bad_list__assets',
(bad_type_history_assets_kwarg_list, 'Asset, str', True)),
('history_kwarg__fields',
(bad_type_history_fields_kwarg, 'str', True)),
('history_kwarg__bar_count',