mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 22:27:01 +01:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_check_brother_printer.py | ||
| test_constants.py | ||
| test_consumables_part2.py | ||
| test_consumables.py | ||
| test_cups_queue_part2.py | ||
| test_cups_queue_part3.py | ||
| test_cups_queue.py | ||
| test_cups_service_part2.py | ||
| test_cups_service_part3.py | ||
| test_cups_service_part4.py | ||
| test_cups_service.py | ||
| test_data_classes.py | ||
| test_display_part2.py | ||
| test_display.py | ||
| test_main_entry.py | ||
| test_network_query.py | ||
| test_page_count.py | ||
| test_query.py | ||
| test_usb_query_part2.py | ||
| test_usb_query.py | ||