mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Force / Enforce security if service is not available (#2744)
* Force / Enforce security if service is not available * add options * Add tests * force security on test * force security add-on validation * Adjust style like codenotary * Different exception type for backend error * Adjust messages * add comments * ditch, not needed * Address comment * fix build
This commit is contained in:
@@ -11,6 +11,7 @@ URL_TEST = "https://version.home-assistant.io/stable.json"
|
||||
async def test_fetch_versions(coresys: CoreSys) -> None:
|
||||
"""Test download and sync version."""
|
||||
|
||||
coresys.config.force_security = True
|
||||
await coresys.updater.fetch_data()
|
||||
|
||||
async with coresys.websession.get(URL_TEST) as request:
|
||||
|
||||
Reference in New Issue
Block a user