chore: fix ruff lint (webhooks v2) + Windows-safe test teardown
This commit is contained in:
+4
-1
@@ -42,7 +42,10 @@ def client():
|
||||
|
||||
yield TestClient(app)
|
||||
|
||||
os.unlink(db_path)
|
||||
try:
|
||||
os.unlink(db_path)
|
||||
except PermissionError:
|
||||
pass # Windows: file may still be open in another thread
|
||||
|
||||
|
||||
# ── Core ──
|
||||
|
||||
Reference in New Issue
Block a user