def test_sender():
    with open(TEST_MAILGUN_PATH, 'r') as f:
        data = request_dict(f.read())
        to = get_sender(data)
        eq_(to, '*****@*****.**')
Exemple #2
0
def test_sender():
    with open(TEST_MAILGUN_PATH, 'r') as f:
        data = request_dict(f.read())
        to = get_sender(data)
        eq_(to, '*****@*****.**')
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)
Exemple #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)