ai-cfia / membrane-backend

Membrane Backend: A centralized authentication service for Single Sign-On (SSO) enabling seamless token-based email verification across multiple client applications.
MIT License
1 stars 0 forks source link

Refactor to avoid DummyEmailClient #69

Closed k-allagbe closed 11 months ago

k-allagbe commented 11 months ago

There might be ways to avoid using a whole class (DummyEmailClient) for this.

We want to patch the setting of email client in the create_app function so that any attribute call on the email client (before it is explicitly patched in test cases) raises an exception.