Fix incorrect file format yr test fixure (#29910)

This commit is contained in:
Franck Nijhof 2019-12-13 12:29:24 +01:00 committed by GitHub
parent 1301a4fcc6
commit b91a8f510c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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 = {