mails.tests.test_views module

class mails.tests.test_views.MailDetailViewTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

Test the mails.views.MailView CBV.

test_properly_functioning()[source]

Test if CBV works properly as decribed in readme, with and without extra form.

test_fails_properly()[source]

Test if CBV fails gently if not used properly.

class mails.tests.test_views.MailEditorSubviewTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

Test the mails.views.MailEditorSubview FBV.

test_properly_functioning()[source]

Test if CBV works properly as decribed in readme, with and without extra form.

test_fails_properly()[source]

Test if CBV fails gently if not used properly.