Django

Code

Changeset 5899

Show
Ignore:
Timestamp:
08/16/07 05:54:28 (1 year ago)
Author:
russellm
Message:

Added a return value to the test frameworks TestSMTPConnection.send_messages, to match the real implementation. Thanks for the suggestion and fix, Michael <absoludity@gmail.com>.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/test/utils.py

    r5898 r5899  
    3737        "Redirect messages to the dummy outbox" 
    3838        mail.outbox.extend(messages) 
     39        return len(messages) 
    3940 
    4041def setup_test_environment():