Skip to content

Commit 9d53fc7

Browse files
committed
fix: Write buffer to file example in test
1 parent aad3c3e commit 9d53fc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_unit_tests.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,15 @@ def test_streams_sign_with_es256_alg_v1_manifest(self):
495495
output.seek(0)
496496
reader = Reader("image/jpeg", output)
497497
json_data = reader.json()
498+
print(json_data)
498499
self.assertIn("Python Test", json_data)
499500
self.assertNotIn("validation_status", json_data)
501+
502+
# Write buffer to file
503+
# output.seek(0)
504+
# with open('/target_path', 'wb') as f:
505+
# f.write(output.getbuffer())
506+
500507
output.close()
501508

502509
def test_streams_sign_with_es256_alg(self):

0 commit comments

Comments
 (0)