mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 19:47:12 +01:00
consumables.py 279 -> 217. check_page_delivery and _snapshot_counters move to _page_delivery.py. The state-file primitives stay put: test_consumables.py patches _load_consumable_state, _save_consumable_state and CONSUMABLE_STATE_FILE on consumables, and moving them would have let a test write to the real ~/.config/brother_printer/state.json. Verified by mtime after the run, not just by a green suite. test_consumables_part2.py patches the same three primitives from both sides of the seam, so it gains a second MOD_PD applied per class rather than a blanket swap. 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 |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| __main__.py | ||
| _cups_fallback.py | ||
| _page_count.py | ||
| _page_delivery.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 | ||