mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Fix docstring (#7907)
This commit is contained in:
parent
11dcbd4449
commit
12f731b32c
@ -1,4 +1,4 @@
|
|||||||
"""The tests for the radarr platform."""
|
"""The tests for the Radarr platform."""
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
@ -347,7 +347,7 @@ class TestRadarrSetup(unittest.TestCase):
|
|||||||
def test_upcoming_today(self, req_mock):
|
def test_upcoming_today(self, req_mock):
|
||||||
"""Test filtering for a single day.
|
"""Test filtering for a single day.
|
||||||
|
|
||||||
Radarr needs to respond with at least 2 days
|
Radarr needs to respond with at least 2 days.
|
||||||
"""
|
"""
|
||||||
config = {
|
config = {
|
||||||
'platform': 'radarr',
|
'platform': 'radarr',
|
||||||
@ -375,7 +375,7 @@ class TestRadarrSetup(unittest.TestCase):
|
|||||||
|
|
||||||
@unittest.mock.patch('requests.get', side_effect=mocked_requests_get)
|
@unittest.mock.patch('requests.get', side_effect=mocked_requests_get)
|
||||||
def test_system_status(self, req_mock):
|
def test_system_status(self, req_mock):
|
||||||
"""Test getting system status"""
|
"""Test the getting of the system status."""
|
||||||
config = {
|
config = {
|
||||||
'platform': 'radarr',
|
'platform': 'radarr',
|
||||||
'api_key': 'foo',
|
'api_key': 'foo',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user