bin/cubicweb-ctl
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 13 Jun 2019 15:04:13 +0200
branch3.26
changeset 12659 a422eeca6994
parent 12253 9165f4b7426b
child 12779 44147dab9d27
permissions -rwxr-xr-x
[config] Raise in case of failure to send emails when in test mode Since, for some reason, exception log messages are not visible when running tests, it's very hard to debug when sendmails() method fails during tests. So, as in some other places, let's raise the exception when in test mode.

#!/usr/bin/env python
from cubicweb.cwctl import run
run()