Add EmailMessage class and tests

Review Request #7601 — Created Aug. 18, 2015 and submitted

brennie
Djblets
master
7602
djblets

This patch ports the custom email message class from Review Board into
Djblets as EmailMessage. Documentation has been added for the
constructor's fields and tests have been ported.

Unit tests pass.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/email/message.py
        djblets/email/tests.py
    
    Ignored Files:
        djblets/email/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/email/message.py
        djblets/email/tests.py
    
    Ignored Files:
        djblets/email/__init__.py
    
    
  2. 
      
chipx86
  1. Since there's a top-level email module in Python, we should call this mail to prevent accidental collisions.

  2. 
      
brennie
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/mail/tests.py
        djblets/mail/message.py
    
    Ignored Files:
        djblets/mail/__init__.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/mail/tests.py
        djblets/mail/message.py
    
    Ignored Files:
        djblets/mail/__init__.py
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.9.x (b41ee06)
Loading...