Add more supervisor info to system info panel (#115715)

* Add virtualization field fo system info

* Add ntp sync and host connectivity

* Prevent nonetype errors

* Add supervisor_connectivity and fix tests

* Add mock of network info to other fixtures

* Update more fixtures with network/info mock
This commit is contained in:
Mike Degatano 2024-05-28 10:14:42 -04:00 committed by GitHub
parent e58d060f82
commit dbcef2e3c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 131 additions and 16 deletions

View file

@ -202,6 +202,16 @@ def _install_default_mocks(aioclient_mock: AiohttpClientMocker):
},
},
)
aioclient_mock.get(
"http://127.0.0.1/network/info",
json={
"result": "ok",
"data": {
"host_internet": True,
"supervisor_internet": True,
},
},
)
@pytest.mark.parametrize(