Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobellaccini committed Sep 29, 2018
1 parent 9679538 commit 4b925e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyAesCrypt/test_crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,15 +320,15 @@ def test_dec_trunc_file(self):
# check that decrypted file was deleted
self.assertFalse(isfile(self.tfile + '.decr'))

# test same input and output stream - encryption
def test_samestream_enc(self):
# test same input and output file - encryption
def test_samefile_enc(self):
self.assertRaisesRegex(ValueError, ("Input and output files "
"are the same."),
pyAesCrypt.encryptFile,
self.tfile, self.tfile,
'pass', bufferSize)
# test same input and output stream - decryption
def test_samestream_dec(self):
# test same input and output file - decryption
def test_samefile_dec(self):
self.assertRaisesRegex(ValueError, ("Input and output files "
"are the same."),
pyAesCrypt.decryptFile,
Expand Down

0 comments on commit 4b925e9

Please sign in to comment.