Răsfoiți Sursa

ci(discovery tests): adapt some more to disabling of ip sweep

Jason Rumney 1 zi în urmă
părinte
comite
6428842228
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tests/test_discovery.py

+ 1 - 1
tests/test_discovery.py

@@ -189,7 +189,7 @@ async def test_start_is_idempotent_and_stop_cancels(hass, mocker):
     assert track.call_count == 1
 
     async_stop_discovery(hass)
-    unsub_sweep.assert_called_once()
+    # unsub_sweep.assert_called_once()
     unsub_scan.assert_called_once()
     assert DATA_DISCOVERY not in hass.data[DOMAIN]