Skip to content

Commit b91a8f5

Browse files
authoredDec 13, 2019
Fix incorrect file format yr test fixure (home-assistant#29910)
1 parent 1301a4f commit b91a8f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎tests/components/yr/test_sensor.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_default_setup(hass, aioclient_mock):
1616
"""Test the default setup."""
1717
aioclient_mock.get(
1818
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
19-
text=load_fixture("yr.no.json"),
19+
text=load_fixture("yr.no.xml"),
2020
)
2121
config = {"platform": "yr", "elevation": 0}
2222
hass.allow_pool = True
@@ -36,7 +36,7 @@ def test_custom_setup(hass, aioclient_mock):
3636
"""Test a custom setup."""
3737
aioclient_mock.get(
3838
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
39-
text=load_fixture("yr.no.json"),
39+
text=load_fixture("yr.no.xml"),
4040
)
4141

4242
config = {
@@ -82,7 +82,7 @@ def test_forecast_setup(hass, aioclient_mock):
8282
"""Test a custom setup with 24h forecast."""
8383
aioclient_mock.get(
8484
"https://aa015h6buqvih86i1.api.met.no/" "weatherapi/locationforecast/1.9/",
85-
text=load_fixture("yr.no.json"),
85+
text=load_fixture("yr.no.xml"),
8686
)
8787

8888
config = {
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.