box / box/box-python-sdk

Create auth test suite that is run for all auth subclasses

Abierto
#216 0 comentarios 0 reacciones 1 asignado Reclamado por @jmoldow Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
459
Forks
223
Merge medio
8 h 57 min
PR fusionados (30 d)
13

Descripción

#197 was able to occur because we didn't test that `JWTAuth.refresh()` followed the same rules as `OAuth2.refresh()`. There is an `OAuth2` test case for the scenario that triggered #197, but not a `JWTAuth` test case for the same scenario.

We should have a common test suite that can be used to test the common interface of all auth subclass. And then make sure we run that suite for all of the subclasses defined in this project.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.