diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-03-20 20:23:43 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-03-20 20:40:35 +0100 |
| commit | ba37ac749ed090d0c675fd0525ae207ef1362bd8 (patch) | |
| tree | a4f74a7a73f47b656e69f6f8a3d0a11207fe6114 /tests/mail/test_sendtestemail.py | |
| parent | 0d9b018e07c384314e142372153eb670c2e129f3 (diff) | |
Adapted sendtestemail to be more argparse-ish
Diffstat (limited to 'tests/mail/test_sendtestemail.py')
| -rw-r--r-- | tests/mail/test_sendtestemail.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/mail/test_sendtestemail.py b/tests/mail/test_sendtestemail.py index 5fff7c8809..ccc54caefb 100644 --- a/tests/mail/test_sendtestemail.py +++ b/tests/mail/test_sendtestemail.py @@ -32,10 +32,3 @@ class SendTestEmailManagementCommand(SimpleTestCase): mail_message = mail.outbox[0] self.assertEqual(mail_message.subject[0:15], 'Test email from') self.assertEqual(mail_message.recipients(), recipients) - - def test_send_test_email_missing_recipient(self): - """ - A CommandError is raised if no recipients are specified. - """ - with self.assertRaisesMessage(CommandError, 'You must provide at least one destination email'): - call_command("sendtestemail") |
