mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 22:27:01 +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 |
||
|---|---|---|
| .. | ||
| __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 | ||