mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Use a path that works on windows, too.
This commit is contained in:
parent
01f09ca5c8
commit
d606d6d08a
|
@ -136,10 +136,11 @@ def test_ft_client(mocker, capsys, caplog):
|
||||||
assert mock.call_count == 1
|
assert mock.call_count == 1
|
||||||
|
|
||||||
with pytest.raises(SystemExit):
|
with pytest.raises(SystemExit):
|
||||||
args = add_arguments(['--config', '/dev/null'])
|
args = add_arguments(['--config', 'tests/testdata/testconfigs/nonexisting.json'])
|
||||||
main_exec(args)
|
main_exec(args)
|
||||||
|
|
||||||
assert log_has('Could not load config file /dev/null.', caplog)
|
assert log_has('Could not load config file tests/testdata/testconfigs/nonexisting.json.',
|
||||||
|
caplog)
|
||||||
|
|
||||||
args = add_arguments([
|
args = add_arguments([
|
||||||
'--config',
|
'--config',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user