Adjust "requires subcommand" message

This commit is contained in:
Matthias
2019-11-13 10:03:59 +01:00
parent 5b62ad876e
commit c42c5a1f85
2 changed files with 7 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ from tests.conftest import (log_has, log_has_re, patch_exchange,
def test_parse_args_None(caplog) -> None:
with pytest.raises(SystemExit):
main([])
assert log_has_re(r"Usage of freqtrade requires a subcommand\.", caplog)
assert log_has_re(r"Usage of Freqtrade requires a subcommand.*", caplog)
def test_parse_args_backtesting(mocker) -> None: