adjust unit test to match new --spaces format

This commit is contained in:
Janne Sinivirta 2018-02-11 19:22:13 +02:00
parent 1eecf28a8b
commit b1230b27b7

View File

@ -283,7 +283,7 @@ def test_signal_handler(mocker):
def test_has_space(): def test_has_space():
assert has_space('buy,roi', 'roi') assert has_space(['buy', 'roi'], 'roi')
assert has_space('buy,roi', 'buy') assert has_space(['buy', 'roi'], 'buy')
assert not has_space('buy,roi', 'stoploss') assert not has_space(['buy', 'roi'], 'stoploss')
assert has_space('all', 'buy') assert has_space(['all'], 'buy')