Skip to content

Commit ac96226

Browse files
committed
minor fix
1 parent f6e53e2 commit ac96226

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

examples/test/keyrings/test_i_raw_rsa_keyring_example.py

+12-8
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,27 @@
99

1010

1111
def test_encrypt_and_decrypt_with_keyring_without_user_defined_keys():
12-
"""Test function for encrypt and decrypt using the Raw RSA Keyring example
13-
where user doesn't provide the public and private keys
12+
"""Test function for encrypt and decrypt using the Raw RSA Keyring example.
13+
14+
Here user doesn't provide the public and private keys
1415
"""
1516
encrypt_and_decrypt_with_keyring()
1617

1718

1819
def test_encrypt_and_decrypt_with_keyring_with_user_defined_keys():
19-
"""Test function for encrypt and decrypt using the Raw RSA Keyring example
20-
where user provides the public and private keys. To test this, we create the
20+
"""Test function for encrypt and decrypt using the Raw RSA Keyring example.
21+
22+
Here user provides the public and private keys. To test this, we create the
2123
keys using the generate_rsa_keys function
2224
"""
2325
user_public_key, user_private_key = generate_rsa_keys()
2426
encrypt_and_decrypt_with_keyring(public_key=user_public_key, private_key=user_private_key)
2527

2628

2729
def test_encrypt_and_decrypt_fails_if_user_provides_only_public_key():
28-
"""Test function for encrypt and decrypt using the Raw RSA Keyring example
29-
where user provides only the public key. The program should throw an Assertion error
30+
"""Test function for encrypt and decrypt using the Raw RSA Keyring example.
31+
32+
Here user provides only the public key. The program should throw an Assertion error
3033
as this example requires the user to either provide both private and public keys to
3134
test both encryption and decryption, or not provide any keys and the example generates both
3235
"""
@@ -40,8 +43,9 @@ def test_encrypt_and_decrypt_fails_if_user_provides_only_public_key():
4043

4144

4245
def test_encrypt_and_decrypt_fails_if_user_provides_only_private_key():
43-
"""Test function for encrypt and decrypt using the Raw RSA Keyring example
44-
where user provides only the private key. The program should throw an Assertion error
46+
"""Test function for encrypt and decrypt using the Raw RSA Keyring example.
47+
48+
Here user provides only the private key. The program should throw an Assertion error
4549
as this example requires the user to either provide both private and public keys to
4650
test both encryption and decryption, or not provide any keys and the example generates both
4751
"""

0 commit comments

Comments
 (0)