testsAndMisc/python_pkg/brother_printer
Krzysztof kuhy Rudnicki 386ff25296 Split brother_printer page-count display into its own module
display.py 342 -> 248, under the 250-line cap. The page-count estimate,
the dropped-page warning and the consumables reference move verbatim to
_page_count.py, which imports the two collaborators the tests patch
(check_page_delivery, estimate_consumable_life) directly.

test_display_part3.py patched only those two names, so it becomes
test_page_count.py with its MOD pointing at the new module. Pass count is
402 before and after.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
2026-08-16 16:50:02 +02:00
..
tests Split brother_printer page-count display into its own module 2026-08-16 16:50:02 +02:00
__init__.py feat: brother printer checker 2026-02-06 21:21:52 +01:00
__main__.py fix(brother-printer): report the truth, not invented status codes 2026-07-17 14:49:23 +02:00
_page_count.py Split brother_printer page-count display into its own module 2026-08-16 16:50:02 +02:00
_query.py feat: split oversized modules for 500-line limit, fix kasa coverage gap 2026-06-14 07:19:37 +02:00
_severity.py Reduce brother_printer/display.py and dedup the consumable bars 2026-08-16 16:39:02 +02:00
_supply.py Reduce brother_printer/display.py and dedup the consumable bars 2026-08-16 16:39:02 +02:00
check_brother_printer.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
constants.py fix(brother-printer): report the truth, not invented status codes 2026-07-17 14:49:23 +02:00
consumables.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
cups_queue.py feat: split oversized modules for 500-line limit, fix kasa coverage gap 2026-06-14 07:19:37 +02:00
cups_service.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
data_classes.py fix(brother-printer): report the truth, not invented status codes 2026-07-17 14:49:23 +02:00
display.py Split brother_printer page-count display into its own module 2026-08-16 16:50:02 +02:00
network_query.py feat: split oversized modules for 500-line limit, fix kasa coverage gap 2026-06-14 07:19:37 +02:00
run.sh fix(brother-printer): report the truth, not invented status codes 2026-07-17 14:49:23 +02:00
usb_query.py fix(brother-printer): report the truth, not invented status codes 2026-07-17 14:49:23 +02:00