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