예제 #1
0
def test_sender():
    with open(TEST_MAILGUN_PATH, 'r') as f:
        data = request_dict(f.read())
        to = get_sender(data)
        eq_(to, '*****@*****.**')
예제 #2
0
def test_sender():
    with open(TEST_MAILGUN_PATH, 'r') as f:
        data = request_dict(f.read())
        to = get_sender(data)
        eq_(to, '*****@*****.**')
예제 #3
0
def test_parse_no_picks():
    with open(TEST_MAILGUN_PATH, 'r') as f:
        to, subject, body = mailer(request_dict(f.read()))
        ok_('Oh no!' in body)
예제 #4
0
def test_parse_no_picks():
    with open(TEST_MAILGUN_PATH, 'r') as f:
        to, subject, body = mailer(request_dict(f.read()))
        ok_('Oh no!' in body)