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
@@ -13,7 +13,7 @@ NOW = datetime(2016, 6, 9, 1, tzinfo=dt_util.UTC)
|
||||
async def test_default_setup(hass, aioclient_mock):
|
||||
"""Test the default setup."""
|
||||
aioclient_mock.get(
|
||||
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
|
||||
"https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/",
|
||||
text=load_fixture("yr.no.xml"),
|
||||
)
|
||||
config = {"platform": "yr", "elevation": 0}
|
||||
@@ -32,7 +32,7 @@ async def test_default_setup(hass, aioclient_mock):
|
||||
async def test_custom_setup(hass, aioclient_mock):
|
||||
"""Test a custom setup."""
|
||||
aioclient_mock.get(
|
||||
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
|
||||
"https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/",
|
||||
text=load_fixture("yr.no.xml"),
|
||||
)
|
||||
|
||||
@@ -77,7 +77,7 @@ async def test_custom_setup(hass, aioclient_mock):
|
||||
async def test_forecast_setup(hass, aioclient_mock):
|
||||
"""Test a custom setup with 24h forecast."""
|
||||
aioclient_mock.get(
|
||||
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
|
||||
"https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/",
|
||||
text=load_fixture("yr.no.xml"),
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user