tests: don't let logged error test send out emails (#17089)

This commit is contained in:
Frédéric Péters 2017-06-21 21:02:39 +02:00
parent edc5525143
commit 03493c73c0
1 changed files with 3 additions and 0 deletions

View File

@ -3493,6 +3493,9 @@ def test_backoffice_logged_errors(pub):
resp = resp.click('Delete').follow()
assert LoggedError.count() == 0
pub.cfg.update({'debug': {'error_email': None}})
pub.write_cfg()
app = get_app(pub)
resp = app.get('/test/')
resp = resp.form.submit('submit').follow()