mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-09 18:26:30 +00:00
Disable backup complete ws message (#5452)
This commit is contained in:
parent
42e704d563
commit
11ca772ada
@ -34,7 +34,7 @@ MIN_VERSION = {
|
|||||||
WSType.SUPERVISOR_EVENT: "2021.2.4",
|
WSType.SUPERVISOR_EVENT: "2021.2.4",
|
||||||
WSType.BACKUP_START: "2022.1.0",
|
WSType.BACKUP_START: "2022.1.0",
|
||||||
WSType.BACKUP_END: "2022.1.0",
|
WSType.BACKUP_END: "2022.1.0",
|
||||||
WSType.BACKUP_COMPLETE: "2024.11.99",
|
WSType.BACKUP_COMPLETE: "2025.11.99",
|
||||||
}
|
}
|
||||||
|
|
||||||
_LOGGER: logging.Logger = logging.getLogger(__name__)
|
_LOGGER: logging.Logger = logging.getLogger(__name__)
|
||||||
|
@ -1983,7 +1983,7 @@ async def test_partial_backup_complete_ws_message(
|
|||||||
"""Test WS message notifies core when a partial backup is complete."""
|
"""Test WS message notifies core when a partial backup is complete."""
|
||||||
coresys.core.state = CoreState.RUNNING
|
coresys.core.state = CoreState.RUNNING
|
||||||
coresys.hardware.disk.get_disk_free_space = lambda x: 5000
|
coresys.hardware.disk.get_disk_free_space = lambda x: 5000
|
||||||
ha_ws_client.ha_version = AwesomeVersion("2024.12.0")
|
ha_ws_client.ha_version = AwesomeVersion("2025.12.0")
|
||||||
|
|
||||||
# Test a partial backup
|
# Test a partial backup
|
||||||
job, backup_task = coresys.jobs.schedule_job(
|
job, backup_task = coresys.jobs.schedule_job(
|
||||||
@ -2015,7 +2015,7 @@ async def test_full_backup_complete_ws_message(
|
|||||||
"""Test WS message notifies core when a full backup is complete."""
|
"""Test WS message notifies core when a full backup is complete."""
|
||||||
coresys.core.state = CoreState.RUNNING
|
coresys.core.state = CoreState.RUNNING
|
||||||
coresys.hardware.disk.get_disk_free_space = lambda x: 5000
|
coresys.hardware.disk.get_disk_free_space = lambda x: 5000
|
||||||
ha_ws_client.ha_version = AwesomeVersion("2024.12.0")
|
ha_ws_client.ha_version = AwesomeVersion("2025.12.0")
|
||||||
|
|
||||||
# Test a full backup
|
# Test a full backup
|
||||||
job, backup_task = coresys.jobs.schedule_job(
|
job, backup_task = coresys.jobs.schedule_job(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user