diff options
| author | Gregor MacGregor <Timothy.J.Clifford@gmail.com> | 2013-09-06 13:24:52 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-09-10 11:09:59 -0400 |
| commit | b2b763448f726ee952743596e9a34fcb154bdb12 (patch) | |
| tree | 5da48d220f856a2c8e42a0e1a19e909b7401ac59 /tests | |
| parent | d59f1993f150f83524051d96b52df08da4dcf011 (diff) | |
Fixed #20841 -- Added messages to NotImplementedErrors
Thanks joseph at vertstudios.com for the suggestion.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/mail/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mail/tests.py b/tests/mail/tests.py index bb57ca37ff..7bef1a3bb3 100644 --- a/tests/mail/tests.py +++ b/tests/mail/tests.py @@ -443,10 +443,10 @@ class BaseEmailBackendTests(HeadersCheckMixin, object): self.assertEqual(first[:len(second)], second, "First string doesn't start with the second.") def get_mailbox_content(self): - raise NotImplementedError + raise NotImplementedError('subclasses of BaseEmailBackendTests must provide a get_mailbox_content() method') def flush_mailbox(self): - raise NotImplementedError + raise NotImplementedError('subclasses of BaseEmailBackendTests may require a flush_mailbox() method') def get_the_message(self): mailbox = self.get_mailbox_content() |
