Fix incorrect file format yr test fixure (#29910)
This commit is contained in:
parent
1301a4fcc6
commit
b91a8f510c
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ def test_default_setup(hass, aioclient_mock):
|
|||
"""Test the default setup."""
|
||||
aioclient_mock.get(
|
||||
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
|
||||
text=load_fixture("yr.no.json"),
|
||||
text=load_fixture("yr.no.xml"),
|
||||
)
|
||||
config = {"platform": "yr", "elevation": 0}
|
||||
hass.allow_pool = True
|
||||
|
@ -36,7 +36,7 @@ def test_custom_setup(hass, aioclient_mock):
|
|||
"""Test a custom setup."""
|
||||
aioclient_mock.get(
|
||||
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
|
||||
text=load_fixture("yr.no.json"),
|
||||
text=load_fixture("yr.no.xml"),
|
||||
)
|
||||
|
||||
config = {
|
||||
|
@ -82,7 +82,7 @@ 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/",
|
||||
text=load_fixture("yr.no.json"),
|
||||
text=load_fixture("yr.no.xml"),
|
||||
)
|
||||
|
||||
config = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue