~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/tests/test_client.py

  • Committer: Curtis Hovey
  • Date: 2012-03-17 21:41:35 UTC
  • Revision ID: curtis.hovey@canonical.com-20120317214135-3aj2usnhxtjed6ot
Simplify logic.

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):