mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 03:06:14 +02:00
Updated module version number.
This commit is contained in:
parent
c6eb521be5
commit
3531769483
6 changed files with 10 additions and 5 deletions
BIN
tests/sample-files/Lenna.jpg
Normal file
BIN
tests/sample-files/Lenna.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 400 KiB |
|
@ -55,7 +55,7 @@ class TestEXIFHeader(unittest.TestCase):
|
|||
self.assertEqual(message, message)
|
||||
|
||||
def test_with_image_without_exif_data(self):
|
||||
secret = exifHeader.hide("./tests/sample-files/Elisha-Cuthbert.jpg",
|
||||
secret = exifHeader.hide("./tests/sample-files/Lenna.jpg",
|
||||
"./image.jpg", secret_message="")
|
||||
#secret.save(""./image.png"")
|
||||
|
||||
|
@ -67,7 +67,7 @@ class TestEXIFHeader(unittest.TestCase):
|
|||
text_file_to_hide = "./tests/sample-files/lorem_ipsum.txt"
|
||||
with open(text_file_to_hide, "rb") as f:
|
||||
message = f.read()
|
||||
secret = exifHeader.hide("./tests/sample-files/Elisha-Cuthbert.jpg",
|
||||
secret = exifHeader.hide("./tests/sample-files/20160505T130442.jpg",
|
||||
img_enc="./image.jpg",
|
||||
secret_file=text_file_to_hide)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue