mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
7
tests/components/shutdown/common.yaml
Normal file
7
tests/components/shutdown/common.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
button:
|
||||
- platform: shutdown
|
||||
name: Shutdown Button
|
||||
|
||||
switch:
|
||||
- platform: shutdown
|
||||
name: Shutdown Switch
|
||||
@@ -1,7 +1 @@
|
||||
button:
|
||||
- platform: shutdown
|
||||
name: Shutdown Button
|
||||
|
||||
switch:
|
||||
- platform: shutdown
|
||||
name: Shutdown Switch
|
||||
<<: !include common.yaml
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
button:
|
||||
- platform: shutdown
|
||||
name: Shutdown Button
|
||||
|
||||
switch:
|
||||
- platform: shutdown
|
||||
name: Shutdown Switch
|
||||
<<: !include common.yaml
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
button:
|
||||
- platform: shutdown
|
||||
name: Shutdown Button
|
||||
|
||||
switch:
|
||||
- platform: shutdown
|
||||
name: Shutdown Switch
|
||||
<<: !include common.yaml
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
button:
|
||||
- platform: shutdown
|
||||
name: Shutdown Button
|
||||
|
||||
switch:
|
||||
- platform: shutdown
|
||||
name: Shutdown Switch
|
||||
<<: !include common.yaml
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
button:
|
||||
- platform: shutdown
|
||||
name: Shutdown Button
|
||||
|
||||
switch:
|
||||
- platform: shutdown
|
||||
name: Shutdown Switch
|
||||
<<: !include common.yaml
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
button:
|
||||
- platform: shutdown
|
||||
name: Shutdown Button
|
||||
|
||||
switch:
|
||||
- platform: shutdown
|
||||
name: Shutdown Switch
|
||||
<<: !include common.yaml
|
||||
|
||||
Reference in New Issue
Block a user