Remove unnecessary string literal concatenations (#30360)
This commit is contained in:
1 parent
cac750066a
commit
e6388e186c
183 files changed
+362
-393
No files matched your search
@@ -8,6 +8,6 @@ import pytest
|
||||
def mock_gateway_info():
|
||||
"""Mock get_gateway_info."""
|
||||
with patch(
|
||||
"homeassistant.components.tradfri.config_flow." "get_gateway_info"
|
||||
"homeassistant.components.tradfri.config_flow.get_gateway_info"
|
||||
) as mock_gateway:
|
||||
yield mock_gateway
|
||||
@@ -13,7 +13,7 @@ from tests.common import MockConfigEntry, mock_coro
|
||||
def mock_auth():
|
||||
"""Mock authenticate."""
|
||||
with patch(
|
||||
"homeassistant.components.tradfri.config_flow." "authenticate"
|
||||
"homeassistant.components.tradfri.config_flow.authenticate"
|
||||
) as mock_auth:
|
||||
yield mock_auth
|
||||
|
||||
@@ -21,7 +21,7 @@ def mock_auth():
|
||||
@pytest.fixture
|
||||
def mock_entry_setup():
|
||||
"""Mock entry setup."""
|
||||
with patch("homeassistant.components.tradfri." "async_setup_entry") as mock_setup:
|
||||
with patch("homeassistant.components.tradfri.async_setup_entry") as mock_setup:
|
||||
mock_setup.return_value = mock_coro(True)
|
||||
yield mock_setup
|
||||
|
||||
|
||||
Reference in new issue
Block a user