box / box/box-python-sdk

Create auth test suite that is run for all auth subclasses

Đang mở
#216 0 bình luận 0 reaction 1 người được giao Được @jmoldow nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
459
Fork
223
Merge trung bình
8 giờ 57 phút
Pull request đã merge (30 ngày)
13

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.