We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d50c05 commit 40a05f2Copy full SHA for 40a05f2
tests/test_unit_tests.py
@@ -1095,6 +1095,8 @@ def test_sign_file_callback_signer_reports_error(self):
1095
1096
# Define a callback that always returns None to simulate an error
1097
def error_callback_signer(data: bytes) -> bytes:
1098
+ # Could alternatively also raise an error
1099
+ # raise RuntimeError("Simulated signing error")
1100
return None
1101
1102
# Create signer with error callback using create_signer function
0 commit comments