#2194·channels

ChannelsLiveServerTestCase 会导致 mail.outbox 始终为空

作者: jackkinsella创建于 2025年11月6日更新于 2026年1月27日

如果我执行一个测试,该测试断言与 `django.core.mail.outbox` 的内容不一致,那么使用 `LiveServerTestCase` 会通过,但使用 `ChannelsLiveServerTestCase` 则会失败。

内容来源: django/channels