Don't use type() is comparisons
This commit is contained in:
@@ -133,7 +133,7 @@ def test_parse_args_backtesting_custom() -> None:
|
||||
assert call_args['command'] == 'backtesting'
|
||||
assert call_args['func'] is not None
|
||||
assert call_args['timeframe'] == '1m'
|
||||
assert type(call_args['strategy_list']) is list
|
||||
assert isinstance(call_args['strategy_list'], list)
|
||||
assert len(call_args['strategy_list']) == 2
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user