Remove flaky wol test that didn't test anything (#39571)
This commit is contained in:
1 parent
d5bcafaefd
commit
78b0837cb8
1 file changed
-10
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user