Various test fixes

This commit is contained in:
2026-08-17 11:35:40 -04:00
parent 2c61a04bcc
commit 5518f07234
10 changed files with 126 additions and 37 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ _chat_db: ChatDatabase | None = None
def get_database() -> ChatDatabase:
"""Get or create the global database instance."""
global _chat_db # noqa: PLW0603
global _chat_db
if _chat_db is None:
_chat_db = ChatDatabase()
return _chat_db