Fix utils test
This commit is contained in:
parent
e8106f3792
commit
ad2fa61765
@ -68,7 +68,7 @@ def start_create_userdir(args: Dict[str, Any]) -> int:
|
|||||||
create_userdata_dir(args["user_data_dir"], create_dir=True)
|
create_userdata_dir(args["user_data_dir"], create_dir=True)
|
||||||
else:
|
else:
|
||||||
logger.warning("`create-userdir` requires --userdir to be set.")
|
logger.warning("`create-userdir` requires --userdir to be set.")
|
||||||
return 1
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
def start_download_data(args: Dict[str, Any]) -> None:
|
def start_download_data(args: Dict[str, Any]) -> None:
|
||||||
|
@ -13,7 +13,7 @@ from tests.conftest import get_args, log_has, patch_exchange
|
|||||||
|
|
||||||
def test_setup_utils_configuration():
|
def test_setup_utils_configuration():
|
||||||
args = [
|
args = [
|
||||||
'--config', 'config.json.example',
|
'list-exchanges', '--config', 'config.json.example',
|
||||||
]
|
]
|
||||||
|
|
||||||
config = setup_utils_configuration(get_args(args), RunMode.OTHER)
|
config = setup_utils_configuration(get_args(args), RunMode.OTHER)
|
||||||
|
Loading…
Reference in New Issue
Block a user