Add auto_update property to supervisor and addon update entities (#69055)
This commit is contained in:
parent
bda997efe9
commit
78e4d7e1ca
7 changed files with 83 additions and 8 deletions
|
@ -139,7 +139,15 @@ def mock_all(aioclient_mock, request):
|
|||
},
|
||||
)
|
||||
aioclient_mock.get("http://127.0.0.1/addons/test/changelog", text="")
|
||||
aioclient_mock.get(
|
||||
"http://127.0.0.1/addons/test/info",
|
||||
json={"result": "ok", "data": {"auto_update": True}},
|
||||
)
|
||||
aioclient_mock.get("http://127.0.0.1/addons/test2/changelog", text="")
|
||||
aioclient_mock.get(
|
||||
"http://127.0.0.1/addons/test2/info",
|
||||
json={"result": "ok", "data": {"auto_update": False}},
|
||||
)
|
||||
aioclient_mock.get(
|
||||
"http://127.0.0.1/ingress/panels", json={"result": "ok", "data": {"panels": {}}}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue