mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 03:06:14 +02:00
Change test input into binrary IO stream
This commit is contained in:
parent
486358de69
commit
03a3835e70
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class TestEXIFHeader(unittest.TestCase):
|
|||
def test_with_bytes(self):
|
||||
outputBytes = io.BytesIO()
|
||||
message = b"Secret"
|
||||
exifHeader.hide("./tests/sample-files/20160505T130442.jpg",
|
||||
exifHeader.hide(open("./tests/sample-files/20160505T130442.jpg", 'rb'),
|
||||
outputBytes,
|
||||
secret_message=message)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue