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:
VakarisZ 2021-06-07 11:30:49 +03:00
parent c487a278fe
commit e918ae1d2c
1 changed files with 1 additions and 1 deletions

View File

@ -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, "")