diff --git a/tests/components/yr/test_sensor.py b/tests/components/yr/test_sensor.py index 1e8282a58ff..21ce0bbe7ce 100644 --- a/tests/components/yr/test_sensor.py +++ b/tests/components/yr/test_sensor.py @@ -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 = { diff --git a/tests/fixtures/yr.no.json b/tests/fixtures/yr.no.xml similarity index 100% rename from tests/fixtures/yr.no.json rename to tests/fixtures/yr.no.xml