File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ def test_create_keys_returns_modulus_of_asked_length(self):
130
130
class TestEncryptionAndDecryptionFunctions (unittest .TestCase ):
131
131
132
132
def test_message_to_blocks_returns_512_bit_blocks (self ):
133
- m = "a" * 100
133
+ m = "a" * 300
134
134
blocks = services .encryption .message_to_blocks (m )
135
135
self .assertEqual (len (blocks [0 ]), 512 )
136
136
self .assertEqual (len (blocks [- 1 ]), 512 )
@@ -188,7 +188,7 @@ def test_decrypt_message_with_special_characters(self):
188
188
self .assertEqual (decrypted , m )
189
189
190
190
def test_decrypt_message_with_scandinavian_letters (self ):
191
- m = "åäöåäö "
191
+ m = "åäöÅÄÖ "
192
192
keys = services .keys .create_keys ()
193
193
encrypted = services .encryption .encrypt_message (
194
194
m , keys [0 ][0 ], keys [0 ][1 ])
You can’t perform that action at this time.
0 commit comments