Add return type to async tests without arguments (#87612)
This commit is contained in:
parent
ea32a2ae63
commit
aa00114c2f
51 changed files with 117 additions and 117 deletions
|
@ -214,7 +214,7 @@ def test_get_random_string(mock_random):
|
|||
assert util.get_random_string(length=3) == "ABC"
|
||||
|
||||
|
||||
async def test_throttle_async():
|
||||
async def test_throttle_async() -> None:
|
||||
"""Test Throttle decorator with async method."""
|
||||
|
||||
@util.Throttle(timedelta(seconds=2))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue