﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21641	Django distributes BaseEmailBackendTests	Benoît Bryon	nobody	"As of version 1.6:

* Django documentation tells you can create custom email backends: https://docs.djangoproject.com/en/1.6/topics/email/#defining-a-custom-email-backend
* Django has a BaseEmailBackendTests class in repository's ""tests"" folder: https://github.com/django/django/blob/09f865276554f35060ff939722ec4cefd578edf6/tests/mail/tests.py#L333

Unfortunately, the BaseEmailBackendTests class is not included in Django package, i.e. Django users cannot import it after Django has been installed.

As a Django user, in order to test a custom email backend, I want to reuse BaseEmailBackendTests provided by Django.
I expect something like ""from django.test.mail import BaseEmailBackendTests"".

I suppose documentation should be updated too, with some section about ""How to test custom email backend"".

I suppose tests of Django backends such as LocmemBackendTests can stay in ""tests"" folder, and ""tests/mail/tests.py"" imports BaseEmailBackendTests from django package."	New feature	closed	Testing framework	1.6	Normal	wontfix			Unreviewed	0	0	0	0	0	0
