Revert "Rename snapshot -> backup" (#53751)

This reverts commit 9806bda272.
This commit is contained in:
Joakim Sørensen 2021-07-30 21:44:10 +02:00 committed by GitHub
parent 8e61ed39fd
commit a9722c90e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 82 additions and 181 deletions

View file

@ -61,7 +61,7 @@ async def test_websocket_supervisor_api(
assert await async_setup_component(hass, "hassio", {})
websocket_client = await hass_ws_client(hass)
aioclient_mock.post(
"http://127.0.0.1/backups/new/partial",
"http://127.0.0.1/snapshots/new/partial",
json={"result": "ok", "data": {"slug": "sn_slug"}},
)
@ -69,7 +69,7 @@ async def test_websocket_supervisor_api(
{
WS_ID: 1,
WS_TYPE: WS_TYPE_API,
ATTR_ENDPOINT: "/backups/new/partial",
ATTR_ENDPOINT: "/snapshots/new/partial",
ATTR_METHOD: "post",
}
)