File tree Expand file tree Collapse file tree
tests/components/command_line Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ async def test_setup_platform_yaml(
8080 DOMAIN , "binary_sensor_platform_yaml_not_supported"
8181 )
8282 assert issue is not None
83- assert issue .severity == ir .IssueSeverity .WARNING
83+ assert issue .severity == ir .IssueSeverity .ERROR
8484 assert issue .translation_placeholders == {"platform" : BINARY_SENSOR_DOMAIN }
8585
8686
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ async def test_setup_platform_yaml(
5959 assert len (hass .states .async_all ()) == 0
6060 issue = issue_registry .async_get_issue (DOMAIN , "cover_platform_yaml_not_supported" )
6161 assert issue is not None
62- assert issue .severity == ir .IssueSeverity .WARNING
62+ assert issue .severity == ir .IssueSeverity .ERROR
6363 assert issue .translation_placeholders == {"platform" : COVER_DOMAIN }
6464
6565
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ async def test_setup_platform_yaml(
4848 assert len (hass .states .async_all ()) == 0
4949 issue = issue_registry .async_get_issue (DOMAIN , "sensor_platform_yaml_not_supported" )
5050 assert issue is not None
51- assert issue .severity == ir .IssueSeverity .WARNING
51+ assert issue .severity == ir .IssueSeverity .ERROR
5252 assert issue .translation_placeholders == {"platform" : SENSOR_DOMAIN }
5353
5454
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ async def test_setup_platform_yaml(
5757 assert len (hass .states .async_all ()) == 0
5858 issue = issue_registry .async_get_issue (DOMAIN , "switch_platform_yaml_not_supported" )
5959 assert issue is not None
60- assert issue .severity == ir .IssueSeverity .WARNING
60+ assert issue .severity == ir .IssueSeverity .ERROR
6161 assert issue .translation_placeholders == {"platform" : SWITCH_DOMAIN }
6262
6363
You can’t perform that action at this time.
0 commit comments