Skip to content

Commit ab1c2c4

Browse files
bieniufrenck
authored andcommitted
Bump accuweather to version 4.2.1 (home-assistant#152029)
1 parent 529219a commit ab1c2c4

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

homeassistant/components/accuweather/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"integration_type": "service",
88
"iot_class": "cloud_polling",
99
"loggers": ["accuweather"],
10-
"requirements": ["accuweather==4.2.0"],
10+
"requirements": ["accuweather==4.2.1"],
1111
"single_config_entry": true
1212
}

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/components/accuweather/test_config_flow.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,6 @@ async def test_show_form(hass: HomeAssistant) -> None:
3030
assert result["step_id"] == "user"
3131

3232

33-
async def test_api_key_too_short(hass: HomeAssistant) -> None:
34-
"""Test that errors are shown when API key is too short."""
35-
# The API key length check is done by the library without polling the AccuWeather
36-
# server so we don't need to patch the library method.
37-
result = await hass.config_entries.flow.async_init(
38-
DOMAIN,
39-
context={"source": SOURCE_USER},
40-
data={
41-
CONF_NAME: "abcd",
42-
CONF_API_KEY: "foo",
43-
CONF_LATITUDE: 55.55,
44-
CONF_LONGITUDE: 122.12,
45-
},
46-
)
47-
48-
assert result["errors"] == {CONF_API_KEY: "invalid_api_key"}
49-
50-
5133
async def test_invalid_api_key(
5234
hass: HomeAssistant, mock_accuweather_client: AsyncMock
5335
) -> None:

0 commit comments

Comments
 (0)