mirror of https://github.com/nucypher/nucypher.git
Merge pull request #3545 from derekpierre/public-keys-cleanup
`ursula public-keys` error message cleanuppull/3554/head
commit
c1ad4e8154
|
@ -558,7 +558,7 @@ def public_keys(config_file, keystore_filepath, from_mnemonic):
|
|||
raise click.BadOptionUsage(
|
||||
"--keystore-filepath",
|
||||
message=click.style(
|
||||
"Exactly one of --keystore-filepath, --config-file, or --from-mnemonic must be specified",
|
||||
"At most, one of --keystore-filepath, --config-file, or --from-mnemonic must be specified",
|
||||
fg="red",
|
||||
),
|
||||
)
|
||||
|
|
|
@ -14,7 +14,7 @@ def test_ursula_public_keys_invalid(click_runner, ursula_test_config, custom_fil
|
|||
ursula_config_file = custom_filepath / "ursula-test.json"
|
||||
ursula_test_config._write_configuration_file(filepath=ursula_config_file)
|
||||
|
||||
expected_error = "Exactly one of --keystore-filepath, --config-file, or --from-mnemonic must be specified"
|
||||
expected_error = "At most, one of --keystore-filepath, --config-file, or --from-mnemonic must be specified"
|
||||
|
||||
# config-file and keystore-filepath
|
||||
public_keys_args = (
|
||||
|
|
Loading…
Reference in New Issue