box / box/box-python-sdk

Create auth test suite that is run for all auth subclasses

Offen
#216 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @jmoldow Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
459
Forks
223
Ø Merge
8 Std. 57 Min.
Gemergte PRs (30 T.)
13

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.