mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Remove leftover debug prints in tests (#56409)
This commit is contained in:
parent
ec52763706
commit
88e42a540e
@ -67,9 +67,6 @@ def _mock_socket(failure_attempts: int = 0) -> MagicMock:
|
|||||||
attempts = 0
|
attempts = 0
|
||||||
|
|
||||||
def _simulate_bind(*_):
|
def _simulate_bind(*_):
|
||||||
import pprint
|
|
||||||
|
|
||||||
pprint.pprint("Calling bind")
|
|
||||||
nonlocal attempts
|
nonlocal attempts
|
||||||
attempts += 1
|
attempts += 1
|
||||||
if attempts <= failure_attempts:
|
if attempts <= failure_attempts:
|
||||||
|
@ -679,9 +679,6 @@ async def test_removed_ignored(hass, mock_async_zeroconf):
|
|||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
assert len(mock_service_info.mock_calls) == 2
|
assert len(mock_service_info.mock_calls) == 2
|
||||||
import pprint
|
|
||||||
|
|
||||||
pprint.pprint(mock_service_info.mock_calls[0][1])
|
|
||||||
assert mock_service_info.mock_calls[0][1][0] == "_service.added.local."
|
assert mock_service_info.mock_calls[0][1][0] == "_service.added.local."
|
||||||
assert mock_service_info.mock_calls[1][1][0] == "_service.updated.local."
|
assert mock_service_info.mock_calls[1][1][0] == "_service.updated.local."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user