Skip to content

Commit

Permalink
Should fail if password not passed
Browse files Browse the repository at this point in the history
  • Loading branch information
dantehemerson committed Nov 10, 2023
1 parent 86840fb commit b845c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_load_protected_file(self):
file_path = os.path.join(
os.path.dirname(__file__), "data", "pdfs", "test_protected.pdf"
)
document = load_file(file_path, password="p4ssword")
document = load_file(file_path)
self.assertIsInstance(document, PDFDocument)

def test_load(self):
Expand Down

0 comments on commit b845c29

Please sign in to comment.