Block peer certs on supervisor (#66837)

Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
This commit is contained in:
Paulus Schoutsen 2022-02-22 13:59:40 -08:00 committed by GitHub
parent 756e711850
commit 938b64081b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 121 additions and 31 deletions

View file

@ -11,7 +11,11 @@ from homeassistant.setup import async_setup_component
from tests.common import MockConfigEntry
MOCK_ENVIRON = {"HASSIO": "127.0.0.1", "HASSIO_TOKEN": "abcdefgh"}
MOCK_ENVIRON = {
"HASSIO": "127.0.0.1",
"HASSIO_TOKEN": "abcdefgh",
"SUPERVISOR": "127.0.0.1",
}
@pytest.fixture(autouse=True)