Skip to content

check_cards tests: remedy text, AUDIT-only exit, a pin minutes ahead and an overstated WRONG card are untested #249

Description

@realmarcin

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions