mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +02:00
Lint Sonarr tests
This commit is contained in:
@@ -815,7 +815,7 @@ class TestSonarrSetup(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 getting system status."""
|
||||||
config = {
|
config = {
|
||||||
'platform': 'sonarr',
|
'platform': 'sonarr',
|
||||||
'api_key': 'foo',
|
'api_key': 'foo',
|
||||||
|
Reference in New Issue
Block a user