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:
Mike Degatano
2025-09-16 11:22:59 -04:00
committed by GitHub
parent 857dae7736
commit 01911a44cd
7 changed files with 30 additions and 106 deletions

View File

@@ -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