Add missing return type to some test functions (#119665)

This commit is contained in:
epenet
2024-06-14 08:26:45 +02:00
committed by GitHub
parent 26e21bb356
commit 38a6e666a7
15 changed files with 20 additions and 18 deletions

View File

@@ -111,7 +111,7 @@ class MockPraw:
username: str,
password: str,
user_agent: str,
):
) -> None:
"""Add mock data for API return."""
self._data = MOCK_RESULTS
@@ -123,7 +123,7 @@ class MockPraw:
class MockSubreddit:
"""Mock class for a subreddit instance."""
def __init__(self, subreddit: str, data):
def __init__(self, subreddit: str, data) -> None:
"""Add mock data for API return."""
self._subreddit = subreddit
self._data = data