Fix utils test

This commit is contained in:
Matthias 2019-09-14 13:40:28 +02:00
parent e8106f3792
commit ad2fa61765
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ def start_create_userdir(args: Dict[str, Any]) -> int:
create_userdata_dir(args["user_data_dir"], create_dir=True)
else:
logger.warning("`create-userdir` requires --userdir to be set.")
return 1
sys.exit(1)
def start_download_data(args: Dict[str, Any]) -> None:

View File

@ -13,7 +13,7 @@ from tests.conftest import get_args, log_has, patch_exchange
def test_setup_utils_configuration():
args = [
'--config', 'config.json.example',
'list-exchanges', '--config', 'config.json.example',
]
config = setup_utils_configuration(get_args(args), RunMode.OTHER)