Skip to content

Commit 7f0a1e0

Browse files
tests: Update validation message in sign_pdf test
- Changed the `pytest.raises` match regex to validate against the updated error message: "Both pfx and passphrase". - Ensures consistency with the revised validation logic. Assisted-by: Codex
1 parent bf69686 commit 7f0a1e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_sign_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def test_sign_pdf_requires_credential_pair(
200200

201201
with (
202202
PdfRestClient(api_key=VALID_API_KEY, transport=transport) as client,
203-
pytest.raises(ValidationError, match=r"pfx.*passphrase"),
203+
pytest.raises(ValidationError, match=r"Both pfx and passphrase"),
204204
):
205205
client.sign_pdf(
206206
input_file,

0 commit comments

Comments
 (0)