tests: do not check mail message on logged errors backoffice (#24327)

This commit is contained in:
Thomas NOËL 2018-06-07 18:02:35 +02:00
parent 30732d5b12
commit e617568561
1 changed files with 0 additions and 5 deletions

View File

@ -3857,11 +3857,6 @@ def test_backoffice_logged_errors(pub):
resp2 = resp.click('1 error')
assert 'ZeroDivisionError' in resp2.body
resp = resp2.click('ZeroDivisionError')
assert not 'traces@example.net' in resp.body
pub.cfg.update({'debug': {'error_email': 'traces@example.net'}})
pub.write_cfg()
resp = resp2.click('ZeroDivisionError')
assert 'traces@example.net' in resp.body
assert 'integer division or modulo by zero' in resp.body
assert not 'Acked' in resp.body
resp = resp.click('Ack').follow()