#436 — Facade cover auth changes with unit tests

Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned

Created: 2025-07-29 · Updated: 2025-09-15

Description

Request

Caused by P0 tasks implemented without tests.

Acceptance criteria

  • Logic for “auth” is covered with unit tests on 80+%.

Implementation details:

Image

app/auth/auth.py is not covered on 80% because there is MockAuthService inside which we don’t need to test and there are exceptions handlers which are hard to test.

Added changes to master/fee/configs router with relevant corrections in FeeConfig* DTO-s. Corrected auth and auth_persistence logic to make errors handling more clear.

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets