refactor(channels): formalize default config onboarding
Some checks failed
Test Suite / test (3.11) (push) Failing after 1m32s
Test Suite / test (3.12) (push) Failing after 1m19s
Test Suite / test (3.13) (push) Failing after 1m27s

This commit is contained in:
Hua
2026-03-17 15:12:15 +08:00
parent bae0332af3
commit d31d6cdbe6
15 changed files with 176 additions and 23 deletions

View File

@@ -23,3 +23,7 @@ def test_is_allowed_requires_exact_match() -> None:
assert channel.is_allowed("allow@email.com") is True
assert channel.is_allowed("attacker|allow@email.com") is False
def test_default_config_returns_none_by_default() -> None:
assert _DummyChannel.default_config() is None