box / box/box-python-sdk

Create auth test suite that is run for all auth subclasses

Aperta
#216 0 commenti 0 reazioni 1 assegnatario Rivendicata da @jmoldow Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
459
Fork
223
Merge medio
8h 57m
PR unite (30g)
13

Descrizione

#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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.