mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Bump voluptuous to 0.12.1 (#44002)
* Bump voluptuous to 0.12.1 * Adjust MQTT climate test to new error msg
This commit is contained in:
parent
30f73a4962
commit
18736dbebf
@ -28,7 +28,7 @@ requests==2.25.0
|
|||||||
ruamel.yaml==0.15.100
|
ruamel.yaml==0.15.100
|
||||||
sqlalchemy==1.3.20
|
sqlalchemy==1.3.20
|
||||||
voluptuous-serialize==2.4.0
|
voluptuous-serialize==2.4.0
|
||||||
voluptuous==0.12.0
|
voluptuous==0.12.1
|
||||||
yarl==1.4.2
|
yarl==1.4.2
|
||||||
zeroconf==0.28.6
|
zeroconf==0.28.6
|
||||||
|
|
||||||
|
@ -19,6 +19,6 @@ pytz>=2020.1
|
|||||||
pyyaml==5.3.1
|
pyyaml==5.3.1
|
||||||
requests==2.25.0
|
requests==2.25.0
|
||||||
ruamel.yaml==0.15.100
|
ruamel.yaml==0.15.100
|
||||||
voluptuous==0.12.0
|
voluptuous==0.12.1
|
||||||
voluptuous-serialize==2.4.0
|
voluptuous-serialize==2.4.0
|
||||||
yarl==1.4.2
|
yarl==1.4.2
|
||||||
|
2
setup.py
2
setup.py
@ -51,7 +51,7 @@ REQUIRES = [
|
|||||||
"pyyaml==5.3.1",
|
"pyyaml==5.3.1",
|
||||||
"requests==2.25.0",
|
"requests==2.25.0",
|
||||||
"ruamel.yaml==0.15.100",
|
"ruamel.yaml==0.15.100",
|
||||||
"voluptuous==0.12.0",
|
"voluptuous==0.12.1",
|
||||||
"voluptuous-serialize==2.4.0",
|
"voluptuous-serialize==2.4.0",
|
||||||
"yarl==1.4.2",
|
"yarl==1.4.2",
|
||||||
]
|
]
|
||||||
|
@ -133,9 +133,9 @@ async def test_set_operation_bad_attr_and_state(hass, mqtt_mock, caplog):
|
|||||||
assert state.state == "off"
|
assert state.state == "off"
|
||||||
with pytest.raises(vol.Invalid) as excinfo:
|
with pytest.raises(vol.Invalid) as excinfo:
|
||||||
await common.async_set_hvac_mode(hass, None, ENTITY_CLIMATE)
|
await common.async_set_hvac_mode(hass, None, ENTITY_CLIMATE)
|
||||||
assert ("value is not allowed for dictionary value @ data['hvac_mode']") in str(
|
assert (
|
||||||
excinfo.value
|
"value must be one of ['auto', 'cool', 'dry', 'fan_only', 'heat', 'heat_cool', 'off'] for dictionary value @ data['hvac_mode']"
|
||||||
)
|
) in str(excinfo.value)
|
||||||
state = hass.states.get(ENTITY_CLIMATE)
|
state = hass.states.get(ENTITY_CLIMATE)
|
||||||
assert state.state == "off"
|
assert state.state == "off"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user