mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Use asynctest-mock in most places (#35109)
* Use asynctest-mock in most places * Fix broken patch in pilight
This commit is contained in:
@@ -3,7 +3,6 @@ from datetime import date, datetime, timedelta
|
||||
import enum
|
||||
import os
|
||||
from socket import _GLOBAL_DEFAULT_TIMEOUT
|
||||
from unittest.mock import Mock, patch
|
||||
import uuid
|
||||
|
||||
import pytest
|
||||
@@ -12,6 +11,8 @@ import voluptuous as vol
|
||||
import homeassistant
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
from tests.async_mock import Mock, patch
|
||||
|
||||
|
||||
def test_boolean():
|
||||
"""Test boolean validation."""
|
||||
|
||||
Reference in New Issue
Block a user