Skip to content

Commit 31dbe02

Browse files
committed
fix: Follow-up update
1 parent 6e9cd77 commit 31dbe02

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/test_unit_tests.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def test_sign_extensionless_jpg_file(self):
796796

797797
# Use the sign_file method
798798
builder = Builder(self.manifestDefinition)
799-
result, manifest_bytes = builder.sign_file(
799+
manifest_bytes = builder.sign_file(
800800
source_path=source_path,
801801
dest_path=output_path,
802802
signer=self.signer
@@ -805,8 +805,7 @@ def test_sign_extensionless_jpg_file(self):
805805
# Verify the output file was created
806806
self.assertTrue(os.path.exists(output_path))
807807

808-
# Verify we got both result and manifest bytes
809-
self.assertIsInstance(result, int)
808+
# Verify
810809
self.assertIsInstance(manifest_bytes, bytes)
811810
self.assertGreater(len(manifest_bytes), 0)
812811

@@ -834,7 +833,7 @@ def test_sign_extensionless_svg_file(self):
834833

835834
# Use the sign_file method
836835
builder = Builder(self.manifestDefinition)
837-
result, manifest_bytes = builder.sign_file(
836+
manifest_bytes = builder.sign_file(
838837
source_path=source_path,
839838
dest_path=output_path,
840839
signer=self.signer
@@ -843,8 +842,7 @@ def test_sign_extensionless_svg_file(self):
843842
# Verify the output file was created
844843
self.assertTrue(os.path.exists(output_path))
845844

846-
# Verify we got both result and manifest bytes
847-
self.assertIsInstance(result, int)
845+
# Verify output
848846
self.assertIsInstance(manifest_bytes, bytes)
849847
self.assertGreater(len(manifest_bytes), 0)
850848

0 commit comments

Comments
 (0)