Remove unnecessary string literal concatenations (#30360)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-01-02 21:17:10 +02:00
1 parent cac750066a
commit e6388e186c
183 files changed
+362 -393

No files matched your search

+2 -2
View File
@@ -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