Some documentation changes

This commit is contained in:
sebastien committed 2026-09-26 22:08:27 +02:00
1 parent 4c56b655fe
commit a03e0e3b4c
9 files changed
+88 -26

No files matched your search

+6 -1
View File
@@ -107,6 +107,11 @@ class MarkedCopiesTests(unittest.TestCase):
self.assertEqual(review.current_width_offset, 50)
review.trigger_processing.assert_called_once_with(self.files[0], 50)
def test_personal_crop_binding_follows_personal_workflow_option(self):
from copienator.configuration import SHOW_PERSONAL_STEPS
self.assertEqual(cutleft.personnal_binding, bool(SHOW_PERSONAL_STEPS))
def test_process_single_pdf_enlarges_crop_and_caps_it_at_page_edge(self):
page = Image.new("RGB", (900, 300), "white")
with patch.object(cutleft, "get_pdf_pages", return_value=[page]):
@@ -188,7 +193,7 @@ class MarkedCopiesGuiTests(unittest.TestCase):
self.assertTrue(reviewer.completed)
return reviewer
first = review_with_keys(self.files, ["<KeyPress-s>", "<Return>"])
first = review_with_keys(self.files, ["<KeyPress-exclam>", "<Return>"])
self.assertTrue(first.had_errors)
self.assertEqual(set(copy_errors(self.workspace)), {"Copie01.pdf"})
self.assertFalse((self.workspace.cutleft_dir / "Copie01_01.jpg").exists())