fix: close consolidated quality review findings
test / image-input-builds (push) Successful in 44s
lint / lint (push) Successful in 1m3s
test / unit (push) Successful in 1m4s
test / integration-docker (push) Successful in 1m6s
test / coverage (push) Successful in 20s
Update Quality Badges / update-badges (push) Successful in 2m57s

This commit was merged in pull request #533.
This commit is contained in:
2026-07-27 05:33:44 +00:00
committed by didericis
parent 7938b90d19
commit 420184b874
6 changed files with 61 additions and 24 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ class TestStoreGuardBranches(unittest.TestCase):
with tempfile.TemporaryDirectory() as d:
db = Path(d) / "q.db"
store = QueueStore("key", db_path=db)
with patch("pathlib.Path.chmod", side_effect=OSError("ro")):
with patch("os.fchmod", side_effect=OSError("ro")):
with self.assertRaisesRegex(OSError, "ro"):
store.migrate()
@@ -156,7 +156,7 @@ class TestStoreGuardBranches(unittest.TestCase):
with tempfile.TemporaryDirectory() as d:
db = Path(d) / "a.db"
store = AuditStore(db_path=db)
with patch("pathlib.Path.chmod", side_effect=OSError("ro")):
with patch("os.fchmod", side_effect=OSError("ro")):
with self.assertRaisesRegex(OSError, "ro"):
store.migrate()