Skip to content

Commit

Permalink
Remove leftover debug prints in tests (#56409)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Sep 19, 2021
1 parent ec52763 commit 88e42a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/components/homekit/test_util.py
Expand Up @@ -67,9 +67,6 @@ def _mock_socket(failure_attempts: int = 0) -> MagicMock:
attempts = 0

def _simulate_bind(*_):
import pprint

pprint.pprint("Calling bind")
nonlocal attempts
attempts += 1
if attempts <= failure_attempts:
Expand Down
3 changes: 0 additions & 3 deletions tests/components/zeroconf/test_init.py
Expand Up @@ -679,9 +679,6 @@ def service_update_mock(ipv6, zeroconf, services, handlers):
await hass.async_block_till_done()

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[1][1][0] == "_service.updated.local."

Expand Down

0 comments on commit 88e42a5

Please sign in to comment.