#2194·channels

ChannelsLiveServerTestCase causes mail.outbox to always be empty

Author: jackkinsellaCreated Nov 6, 2025Updated Jan 27, 2026

If I take a test that asserts against the contents of django.core.mail.outbox, it will pass with LiveServerTestCase but fail with ChannelsLiveServerTestCase

Setting EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend" explicitly in my settings did not help.