forked from p15670423/monkey
Renamed a unit test to be more specific: test_decrypt_config__no_password -> test_encrypt_decrypt_config__decrypt_no_password
This commit is contained in:
parent
c487a278fe
commit
e918ae1d2c
|
@ -43,7 +43,7 @@ def test_encrypt_decrypt_config__malformed():
|
|||
decrypt_config(MALFORMED_CYPHER_TEXT_CORRUPTED, PASSWORD)
|
||||
|
||||
|
||||
def test_decrypt_config__no_password(plaintext_config):
|
||||
def test_encrypt_decrypt_config__decrypt_no_password(plaintext_config):
|
||||
encrypted_config = encrypt_config(plaintext_config, PASSWORD)
|
||||
with pytest.raises(NoCredentialsError):
|
||||
decrypt_config(encrypted_config, "")
|
||||
|
|
Loading…
Reference in New Issue