'Test deleting with a reason gives the reason in the mail.'

def test_delete_reason(self):

    app = self.get_app()
    reason = u'tr\xeaason'
    eq_(len(mail.outbox), 0)
    app.delete(msg='bye', reason=reason)
    eq_(len(mail.outbox), 1)
    assert (reason in mail.outbox[0].body)
