mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Add missing return type to some test functions (#119665)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user