~unity-2d-team/unity-2d/Shell-MultiMonitor

« back to all changes in this revision

Viewing changes to grackle/tests/test_client.py

  • Committer: Curtis Hovey
  • Date: 2012-03-17 21:36:11 UTC
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: curtis.hovey@canonical.com-20120317213611-9r5y3wa9dzoonczv
Clean up python-oddities.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
__metaclass__ = type
 
2
 
1
3
from email.message import Message
2
4
from email.mime.multipart import MIMEMultipart
3
5
from email.mime.text import MIMEText
14
16
    UnsupportedOrder,
15
17
    )
16
18
from grackle.service import ForkedFakeService
17
 
from grackle.store import (
18
 
    make_json_message,
19
 
    )
 
19
from grackle.store import make_json_message
20
20
 
21
21
 
22
22
def make_message(message_id, body='body', headers=None, hidden=False):