chore: rename project coven → hack-house ⛧
Rebrand the Rust client crate (coven/ → hh/, package+binary "hack-house"), README, CLI strings, and branch (coven → hack-house). Gitea repo renamed cmd-chat → hack-house to match. Crypto/server logic unchanged; selftest + golden-vector test still green, binary is now `hack-house`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
from sanic import Sanic
|
||||
|
||||
from sanic_ext.extensions.logging.logger import Logger
|
||||
|
||||
|
||||
def test_defult_config(app: Sanic):
|
||||
assert hasattr(app.config, "LOGGERS")
|
||||
|
||||
|
||||
def test_custom_background_logger(app: Sanic):
|
||||
assert Logger.LOGGERS == []
|
||||
Logger.prepare(app)
|
||||
assert hasattr(app.shared_ctx, "logger_queue")
|
||||
assert Logger.LOGGERS == app.config.LOGGERS
|
||||
assert "sanic.root" in Logger.LOGGERS
|
||||
|
||||
logger = Logger()
|
||||
assert (
|
||||
len(logger.loggers) == len(Logger.LOGGERS) == len(app.config.LOGGERS)
|
||||
)
|
||||
Reference in New Issue
Block a user