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:
parent
e58d060f82
commit
dbcef2e3c3
13 changed files with 131 additions and 16 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue