From the round-4 review of #212 (follows #243).
Where: tests/test_fleet_page.py.
Mutations that survive all 71 tests:
Fix:
- assert the WRONG remedy text, and that it doesn't send WRONG to a refresh;
- assert that
main() returns 1 when AUDIT is the only failure;
- add a pin one minute ahead;
- add a WRONG case with the card above
figure_at_pin.
From the round-4 review of #212 (follows #243).
Where:
tests/test_fleet_page.py.Mutations that survive all 71 tests:
main()'s closing line. The test never reads stdout.at_pin != cardchanged toat_pin > card. WRONG is tested only for a card typed belowfigure_at_pin.Fix:
main()returns 1 when AUDIT is the only failure;figure_at_pin.