mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 02:49:43 +00:00
Persistent notifications to repairs and fix free_space check (#6179)
* Persistent notifications to repairs and fix free_space check * Fix tests mocking too little free space
This commit is contained in:
@@ -70,7 +70,7 @@ async def test_if_check_cleanup_issue(coresys: CoreSys):
|
||||
|
||||
assert free_space in coresys.resolution.issues
|
||||
|
||||
with patch("shutil.disk_usage", return_value=(42, 42, 2 * (1024.0**3))):
|
||||
with patch("shutil.disk_usage", return_value=(42, 42, 3 * (1024.0**3))):
|
||||
await coresys.resolution.check.check_system()
|
||||
|
||||
assert free_space not in coresys.resolution.issues
|
||||
|
||||
Reference in New Issue
Block a user