aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-02-26 00:33:29 +0100
committerGravatar Numerlor <[email protected]>2020-02-26 00:33:29 +0100
commite8e2fa9ee8f607bb6593b7c8325446dc074a972d (patch)
treee3e494fca77882adf9514f072b316758a2aed962 /tests/helpers.py
parentCheck for empty strings alongside None before loading cog. (diff)
Make sure token exists before checking its expiration.
Without the check and an invalid token, an AttributeError is raised; blocking the relevant ClientError from being raised in `get_access_token`.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions