File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ def test_live_remove_open_password_invalid_password(
208208 new_open_password = correct_password ,
209209 output = "live-open-invalid" ,
210210 ).output_file
211- with pytest .raises (PdfRestApiError , match = "open password" ):
211+ with pytest .raises (PdfRestApiError , match = "password-protected " ):
212212 client .remove_open_password (
213213 restricted ,
214214 current_open_password = wrong_password ,
@@ -234,7 +234,7 @@ async def test_live_async_remove_open_password_invalid_password(
234234 output = "async-live-open-invalid" ,
235235 )
236236 ).output_file
237- with pytest .raises (PdfRestApiError , match = "open password" ):
237+ with pytest .raises (PdfRestApiError , match = "password-protected " ):
238238 await client .remove_open_password (
239239 restricted ,
240240 current_open_password = wrong_password ,
You can’t perform that action at this time.
0 commit comments