Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit e6eec6a

Browse files
committed
Allow for default not always to be set.
1 parent 88479a0 commit e6eec6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_05_oauth2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ def test_factory_auth_response():
540540

541541

542542
def test_set_default():
543-
ar = AccessTokenRequest()
543+
ar = AccessTokenRequest(set_defaults=False)
544+
assert list(ar.keys()) == []
544545
ar.set_defaults()
545546
assert 'grant_type' in ar

0 commit comments

Comments
 (0)