fix: quiet routine console logging and prevent duplicate output (#183)

This commit is contained in:
Vito
2026-10-16 09:58:05 -07:00
committed by GitHub
parent 5ded3189c1
commit ce82dfb912
3 changed files with 47 additions and 1 deletions
+1 -1
View File
@@ -1867,7 +1867,7 @@ class TestScanReadsVideos(AdminAPITestCase):
(self.output_dir / "bad.png").write_bytes(b"\x89PNG not really")
GalleryConfig.MONITORING_DIRECTORIES = [self._root(self.output_dir)]
with self.assertLogs(level="WARNING") as cm:
with self.assertLogs("prompt_manager", level="WARNING") as cm:
body = await (
await self.client.request("POST", "/prompt_manager/scan")
).text()