Skip to content

Commit

Permalink
Adjust tests for more specific voluptuous exceptions (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacegaier committed Dec 8, 2020
1 parent 4910563 commit bcbd1a2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
netifaces==0.10.9
pyyaml==5.3.1
voluptuous==0.12.0
voluptuous==0.12.1
2 changes: 1 addition & 1 deletion test/config_tests/resources/climate/invalid_1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "value is not allowed .*operation_modes.*"
name: "value must be one of .*operation_modes.*"
friendly_name: "Bathroom"
target_temperature:
address: "4/0/0"
Expand Down
2 changes: 1 addition & 1 deletion test/config_tests/resources/climate/invalid_3.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "value is not allowed for .*mode.*"
name: "value must be one of .*mode.*"
friendly_name: "Bathroom"
target_temperature:
address: "4/0/0"
Expand Down
2 changes: 1 addition & 1 deletion test/config_tests/resources/datetime/invalid_1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "value is not allowed .*broadcast_type.*"
name: "value must be one of .*broadcast_type.*"
time:
address: "8/4/4"
broadcast_type: sdaf
2 changes: 1 addition & 1 deletion test/config_tests/resources/light/invalid_1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "value is not allowed .*mode.*"
name: "value must be one of .*mode.*"
friendly_name: "Office"
switch:
address: "2/1/5"
Expand Down

0 comments on commit bcbd1a2

Please sign in to comment.