Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Getting client.py to 100% coverage. #486

Merged
merged 2 commits into from
Apr 7, 2016

Commits on Apr 7, 2016

  1. Adding test coverage for client.py.

    - `DeviceFlowInfo` (and using datetime now patch).
    - Corner cases for `step1_get_authorize_url` and
      `step2_exchange`
    - Failure cases for `flow_from_clientsecrets`
    - `verify_id_token` when the cached HTTP is used (i.e.
      the default argument)
    dhermes committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    fffede8 View commit details
    Browse the repository at this point in the history
  2. Getting client.py to 100% coverage.

    In particular:
    - `step1_get_device_and_user_codes`
    - `step2_exchange` with device info
    - Making explicit the `code=` argument in calls to
      `step2_exchange` in tests
    - `flow_from_clientsecrets` branches with revoke and
      device URI optional args
    dhermes committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    b26f778 View commit details
    Browse the repository at this point in the history