mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 10:17:51 +00:00
Remove flaky wol test that didn't test anything (#39571)
This commit is contained in:
parent
d5bcafaefd
commit
78b0837cb8
@ -101,16 +101,6 @@ class TestWolSwitch(unittest.TestCase):
|
||||
state = self.hass.states.get("switch.wake_on_lan")
|
||||
assert STATE_ON == state.state
|
||||
|
||||
@patch("wakeonlan.send_magic_packet", new=send_magic_packet)
|
||||
@patch("subprocess.call", new=call)
|
||||
def test_minimal_config(self):
|
||||
"""Test with minimal config."""
|
||||
assert setup_component(
|
||||
self.hass,
|
||||
switch.DOMAIN,
|
||||
{"switch": {"platform": "wake_on_lan", "mac": "00-01-02-03-04-05"}},
|
||||
)
|
||||
|
||||
@patch("wakeonlan.send_magic_packet", new=send_magic_packet)
|
||||
@patch("subprocess.call", new=call)
|
||||
def test_broadcast_config_ip_and_port(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user