File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ async def test_oauth_grants_list_async(self) -> None:
3939 assert grant ["scopes" ] == ["emails:send" ]
4040 assert grant ["client" ]["name" ] == "Resend CLI"
4141
42- async def test_should_list_oauth_grants_async_raise_exception_when_no_content (
42+ async def test_list_oauth_grants_async_returns_no_content_error (
4343 self ,
4444 ) -> None :
4545 self .set_mock_json (None )
@@ -66,7 +66,7 @@ async def test_oauth_grants_revoke_async(self) -> None:
6666 assert revoked ["revoked_at" ] == "2023-06-22T06:10:36.144Z"
6767 assert revoked ["revoked_reason" ] == "revoked_from_api"
6868
69- async def test_should_revoke_oauth_grant_async_raise_exception_when_no_content (
69+ async def test_revoke_oauth_grant_async_returns_no_content_error (
7070 self ,
7171 ) -> None :
7272 self .set_mock_json (None )
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def test_oauth_grants_list_revoked_grant(self) -> None:
6969 assert grant ["revoked_reason" ] == "revoked_from_api"
7070 assert grant ["client" ]["logo_uri" ] is None
7171
72- def test_should_list_oauth_grants_raise_exception_when_no_content (self ) -> None :
72+ def test_list_oauth_grants_returns_no_content_error (self ) -> None :
7373 self .set_mock_json (None )
7474 with self .assertRaises (NoContentError ):
7575 _ = resend .OAuthGrants .list ()
@@ -159,7 +159,7 @@ def test_oauth_grants_revoke(self) -> None:
159159 assert revoked ["revoked_at" ] == "2023-06-22T06:10:36.144Z"
160160 assert revoked ["revoked_reason" ] == "revoked_from_api"
161161
162- def test_should_revoke_oauth_grant_raise_exception_when_no_content (self ) -> None :
162+ def test_revoke_oauth_grant_returns_no_content_error (self ) -> None :
163163 self .set_mock_json (None )
164164 with self .assertRaises (NoContentError ):
165165 _ = resend .OAuthGrants .revoke (oauth_grant_id = "grant-1" )
You can’t perform that action at this time.
0 commit comments