~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2625.6.3.

  • Committer: Adeodato Simó
  • Date: 2007-07-19 21:22:53 UTC
  • mto: (2639.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2640.
  • Revision ID: dato@net.com.org.es-20070719212253-iaqokj16w681svwe
Changes after review by John.

* bzrlib/email_message.py:
  (EmailMessage): inherit from object.
  (EmailMessage.__getitem__): fix grammar in docstring.

* bzrlib/email_message.py,
  bzrlib/tests/test_email_message.py:
  Do not use variables named "string".

* bzrlib/tests/test_email_message.py:
  (TestEmailMessage.test_send): do not assert inside the verify_*
  functions that replace SMTPConnection.send_email. Instead, append the
  received message to a local variable, and call assert in the main body
  function.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: