update python dependencies

This commit is contained in:
Sam
2022-09-19 14:05:22 +02:00
parent 6e04791b2d
commit 752224e6cd
4 changed files with 27 additions and 15 deletions

View File

@@ -241,6 +241,17 @@ class ApiTestCaseMixin(OAuth2Mixin, RandomMixin):
error='invalid_client',
)
@staticmethod
def assert_invalid_grant(
response: TestResponse, error_description: Optional[str] = None
) -> Dict:
return assert_oauth_errored_response(
response,
400,
error='invalid_grant',
error_description=error_description,
)
@staticmethod
def assert_invalid_request(
response: TestResponse, error_description: Optional[str] = None