mirror of https://github.com/nucypher/nucypher.git
Fixed broken CLI tests based on refactor
parent
16bf950020
commit
ae6ac4b2aa
|
@ -49,4 +49,4 @@ def test_nucypher_deploy_help_message(click_runner):
|
|||
help_args = ('--help', )
|
||||
result = click_runner.invoke(deploy, help_args, catch_exceptions=False)
|
||||
assert result.exit_code == 0
|
||||
assert 'deploy [OPTIONS] ACTION' in result.output, 'Missing or invalid help text was produced.'
|
||||
assert 'deploy [OPTIONS] COMMAND [ARGS]' in result.output, 'Missing or invalid help text was produced.'
|
||||
|
|
|
@ -259,7 +259,7 @@ def test_corrupted_configuration(click_runner,
|
|||
|
||||
# Attempt destruction with invalid configuration (missing registry)
|
||||
ursula_file_location = os.path.join(custom_filepath, default_filename)
|
||||
destruction_args = ('ursula', '--debug', 'destroy', '--config-file', ursula_file_location)
|
||||
destruction_args = ('ursula', 'destroy', '--debug', '--config-file', ursula_file_location)
|
||||
result = click_runner.invoke(nucypher_cli, destruction_args, input='Y\n', catch_exceptions=False, env=envvars)
|
||||
assert result.exit_code == 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue