Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/mail
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-32/+128
|
* Fixed #24623 -- Fixed EmailMessage.attach_file() with ↵Konrad Świat2015-07-257-0/+34
| | | | | | text files on Python 3. Thanks tkrapp for the report and Tim Graham for the review.
* Fixed #24970 -- Added --managers and --admins options to ↵Rolo2015-06-221-8/+59
| | | | the sendtestemail management command.
* Cleanup: Removed the try-except-fail antipattern from testsShai Berger2015-06-051-8/+2
| | | | | | | | | | | | | | | | | | Found cases where testing code was doing try: whatever except (some excption type): self.fail("exception shouldn't be thrown") replaced it with just whatever as this makes the unexpected errors easier to debug, and the tests would fail just as much and aren't rendered less readable. Thanks Markus Holtermann for review
* Refs #23763 -- Fixed SMTPServer Python 3.5 deprecation ↵Tim Graham2015-05-181-0/+3
| | | | warning in mail test.
* Removed unused imports.Tim Graham2015-03-201-1/+0
|
* Adapted sendtestemail to be more argparse-ishClaude Paroz2015-03-201-7/+0
|
* Removed unused import.Tim Graham2015-03-201-2/+0
|
* Used testing domain names in mail tests per rfc2606.Tim Graham2015-03-201-2/+2
|
* Fixed #24419 -- Added sendtestemail management commandLoek van Gent2015-03-201-0/+43
|
* Fixed #24416 -- Added support for lazy email addresses.medmunds2015-03-131-0/+25
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-8/+9
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-1/+1
|
* Refs #23947 -- Isolated a mail test.Diego Guimarães2014-12-061-17/+28
|
* Fixed #23910 -- Added reply_to parameter to EmailMessageMartin Blech2014-11-281-0/+28
| | | | Thanks to Berker Peksag and Tim Graham for the review and suggestions.
* Fixed #23924 -- Made EmailMessage raise TypeError for ↵Martin Blech2014-11-281-0/+8
| | | | type checks
* Fixed #21281 -- Made override_settings act at class ↵Thomas Chaumeny2014-11-031-0/+2
| | | | level when used as a TestCase decorator.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-15/+15
| | | | Django test suite.
* Fixed a flake8 warning.Simon Charette2014-10-151-1/+1
|
* Fixed #23063 -- Convert \n and \r to \r\n when using the ↵Florian Apolloner2014-10-121-1/+35
| | | | SMTP backend as per RFC.
* Fixed #23461 -- Added EMAIL_TIMEOUT settingJosé Padilla2014-09-131-0/+5
|
* Fixed #20743 -- Added support for keyfile/certfile in ↵Andi Albrecht2014-09-101-0/+28
| | | | | | SMTP connections. Thanks jwmayfield, serg.partizan, and Wojciech Banaś for work on the patch.
* Fixed several typos in DjangoAlex Gaynor2014-05-291-1/+1
|
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
|
* Fixed #22327 -- Turned BaseEmailBackend into a context ↵Daniel Neuhäuser2014-03-311-0/+21
| | | | | | | manager Changed the BaseEmailBackend to allow usage as context manager to open and close connections.
* Corrected many style guide violations that the newest ↵Alex Gaynor2014-03-301-1/+1
| | | | version of flake8 catches
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-3/+3
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Be more careful about closing connections in mail tests.Marc Tamlyn2014-01-131-5/+15
|
* Undelete the `return True` removed in 4e0a2fe.Marc Tamlyn2014-01-131-0/+10
| | | | | This is quite important otherwise we don't close our connections to the SMTP server.
* Changed console and filebackend to use msg.as_bytes to ↵Florian Apolloner2013-12-301-20/+17
| | | | output the data as it would get send via smtp.
* Introduced as_bytes for SafeMIMEText (and other ↵Florian Apolloner2013-12-281-22/+26
| | | | | | | | | | | SafeMIME-classes). This is to provide a consistent interface (namely bytes) for the smtp backend which after all sends bytes over the wire; encoding with as_string yields different results since mails as unicode are not really specified. as_string stays for backwardscompatibilty mostly and some debug outputs. But keep in mind that the output doesn't match as_bytes!
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* Fixed E127 pep8 warnings.Loic Bistuer2013-12-141-6/+9
|
* Undelete the login() call inadvertantly removed in ↵Claude Paroz2013-10-251-0/+10
| | | | | | 4e0a2fe59c Refs #21271.
* Fixed #21271 -- Added timeout parameter to SMTP ↵SusanTan2013-10-251-0/+17
| | | | | | | EmailBackend. Thanks Tobias McNulty and Tim Graham for discussions and code review. Thanks Andre Cruz the suggestion and initial patch.
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-2/+2
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Whitespace cleanup.Tim Graham2013-10-101-1/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed "redefinition of unused 'foo' from line X" ↵Tim Graham2013-10-101-11/+13
| | | | pyflakes warnings.
* Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor2013-09-101-2/+2
| | | | Thanks joseph at vertstudios.com for the suggestion.
* Removed unneeded imports in tests's __init__.py and ↵Florian Apolloner2013-09-091-2/+0
| | | | unified them.
* Switched mail tests to SimpleTestCase.Ramiro Morales2013-08-211-7/+7
|
* Fixed #12422 -- Don't override global email charset ↵Ramiro Morales2013-08-211-10/+87
| | | | | | | behavior for utf-8. Thanks simonb for the report, Claude Paroz and Susan Tan for their work on a fix.
* Fixed #18967 -- Don't base64-encode message/rfc822 ↵Ramiro Morales2013-08-211-0/+33
| | | | | | attachments. Thanks Michael Farrell for the report and his work on the fix.
* Fixed #20817 -- Added html_message parameter to ↵Justin Michalicek2013-07-291-0/+28
| | | | django.core.mail.send_mail()
* Fixed #17471 -- Added smtplib.SMTP_SSL connection option ↵Claude Paroz2013-07-111-0/+55
| | | | | | | for SMTP backend Thanks dj.facebook at gmail.com for the report and initial patch and Areski Belaid and senko for improvements.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-6/+6
| | | | Gives much nicer errors when it fails.
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-5/+5
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-264-0/+758