testsAndMisc/python_pkg/brother_printer/tests
Krzysztof kuhy Rudnicki 143dd9ff3d Split brother_printer CUPS fallback query out of cups_service
cups_service.py 406 -> 234. The IPP attribute queries, the CUPS
status-code mapping, find_cups_printer_name and query_usb_via_cups move
to _cups_fallback.py; cups_service keeps service control and raw USB
port status.

The seam is not the section header: test_cups_service_part2.py imports
_get_cups_economode and find_cups_printer_name together and patches
shutil once, so those two had to travel as a pair. test_cups_service.py,
the largest module, needs no edit.

usb_query.py reaches the fallback through a late import_module, so both
that string and the absolute patch target in test_usb_query.py moved
with it. 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 17:02:42 +02:00
..
__init__.py test: achieve 100% branch coverage across all python_pkg packages 2026-03-21 17:51:36 +01:00
test_check_brother_printer.py fix(brother-printer): report the truth, not invented status codes 2026-07-17 14:49:23 +02:00
test_constants.py fix(brother-printer): report the truth, not invented status codes 2026-07-17 14:49:23 +02:00
test_consumables_part2.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
test_consumables.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
test_cups_queue_part2.py Split brother_printer queue display and fix prompt out of cups_queue 2026-08-16 16:53:51 +02:00
test_cups_queue_part3.py Split brother_printer queue display and fix prompt out of cups_queue 2026-08-16 16:53:51 +02:00
test_cups_queue.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_cups_service_part2.py Split brother_printer CUPS fallback query out of cups_service 2026-08-16 17:02:42 +02:00
test_cups_service_part3.py Split brother_printer CUPS fallback query out of cups_service 2026-08-16 17:02:42 +02:00
test_cups_service_part4.py Split brother_printer CUPS fallback query out of cups_service 2026-08-16 17:02:42 +02:00
test_cups_service.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
test_data_classes.py feat: split oversized modules for 500-line limit, fix kasa coverage gap 2026-06-14 07:19:37 +02:00
test_display_part2.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_display.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
test_main_entry.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
test_network_query.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_page_count.py Split brother_printer page-count display into its own module 2026-08-16 16:50:02 +02:00
test_query.py feat: split oversized modules for 500-line limit, fix kasa coverage gap 2026-06-14 07:19:37 +02:00
test_usb_query_part2.py fix(brother-printer): split oversized files, fix order-dependent entry test 2026-07-17 15:06:25 +02:00
test_usb_query.py Split brother_printer CUPS fallback query out of cups_service 2026-08-16 17:02:42 +02:00