- added backend tests for
Action,
History,
Rectangle, and
Document including tests with a test document redacting
- text,
- drawings, and
- images
- refactored mildly:
Document.future → Document.has_future
Rectangle.pymupdf_rect now instance property instead of method
- added some functions/properties; they aren’t used, yet, and may be
cleaned up later, namely:
Document.path
Page.get_height and Page.get_weight: they were used by
Document.get_maximum_height and Document.get_maximum_weight,
respectively
Rectangle.__eq__: used for easier testing
- added backend testing to CI workflow for new PRs and on pushes to main
Related: #110
- added backend tests for
- `Action`,
- `History`,
- `Rectangle`, and
- `Document` including tests with a test document redacting
- text,
- drawings, and
- images
- refactored mildly:
- `Document.future` → `Document.has_future`
- `Rectangle.pymupdf_rect` now instance property instead of method
- added some functions/properties; they aren’t used, yet, and may be
cleaned up later, namely:
- `Document.path`
- `Page.get_height` and `Page.get_weight`: they were used by
`Document.get_maximum_height` and `Document.get_maximum_weight`,
respectively
- `Rectangle.__eq__`: used for easier testing
- added backend testing to CI workflow for new PRs and on pushes to main
Related: #110