adjust unit test to match new --spaces format
This commit is contained in:
parent
1eecf28a8b
commit
b1230b27b7
@ -283,7 +283,7 @@ def test_signal_handler(mocker):
|
||||
|
||||
|
||||
def test_has_space():
|
||||
assert has_space('buy,roi', 'roi')
|
||||
assert has_space('buy,roi', 'buy')
|
||||
assert not has_space('buy,roi', 'stoploss')
|
||||
assert has_space('all', 'buy')
|
||||
assert has_space(['buy', 'roi'], 'roi')
|
||||
assert has_space(['buy', 'roi'], 'buy')
|
||||
assert not has_space(['buy', 'roi'], 'stoploss')
|
||||
assert has_space(['all'], 'buy')
|
||||
|
Loading…
Reference in New Issue
Block a user