mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 13:30:58 +01:00
test_cups_service.py 390 -> 172 (usblp port status to _port), part2 261 -> 115 (status mapping and discovery out), part3 260 -> 105 (the four healthy-port cases out). part3 was one 235-line class, so it split by method rather than by class. The four part-numbered files are renamed for what they cover; three of them now name _cups_fallback, matching where the code moved earlier. The first run after the part2 split reported 400, not 402: the moved classes needed subprocess and get_status_info that my hand-written import block had dropped. Fixed, and the count is 402 again. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| __main__.py | ||
| _cups_fallback.py | ||
| _page_count.py | ||
| _page_delivery.py | ||
| _pjl_io.py | ||
| _query.py | ||
| _queue_fix.py | ||
| _severity.py | ||
| _supply.py | ||
| check_brother_printer.py | ||
| constants.py | ||
| consumables.py | ||
| cups_queue.py | ||
| cups_service.py | ||
| data_classes.py | ||
| display.py | ||
| network_query.py | ||
| run.sh | ||
| usb_query.py | ||