Remove leftover debug prints in tests (#56409)

This commit is contained in:
J. Nick Koston 2021-09-19 00:43:02 -10:00 committed by GitHub
parent ec52763706
commit 88e42a540e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -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:

View File

@ -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."