From 0a7e0bcbdf4e3ec31ca9a5bf326a361dd50e9e99 Mon Sep 17 00:00:00 2001 From: sfneal Date: Wed, 20 Nov 2024 20:26:12 +0000 Subject: [PATCH] REFORMAT code style & optimize imports (via black, isort & autoflake) --- tests/test_decrypt.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/test_decrypt.py b/tests/test_decrypt.py index bab165e..99b3444 100644 --- a/tests/test_decrypt.py +++ b/tests/test_decrypt.py @@ -2,8 +2,8 @@ from parameterized import parameterized -from pdfconduit import Pdfconduit, Info -from tests import PdfconduitTestCase, test_data_path, get_clean_pdf_name +from pdfconduit import Info, Pdfconduit +from tests import PdfconduitTestCase, get_clean_pdf_name, test_data_path def decrypt_params() -> List[str]: @@ -30,7 +30,11 @@ class TestDecrypt(PdfconduitTestCase): @parameterized.expand(decrypt_params, name_func=decrypt_name_func) def test_can_decrypt(self, path: str): self.assertTrue(Info(path).encrypted) - self.conduit = Pdfconduit(path, 'foo').set_output_directory(self.temp.name).set_output_suffix('decrypted') + self.conduit = ( + Pdfconduit(path, "foo") + .set_output_directory(self.temp.name) + .set_output_suffix("decrypted") + ) self.conduit.write() self.assertPdfExists(self.conduit.output)