tests: do not check mail message on logged errors backoffice (#24327)
This commit is contained in:
parent
30732d5b12
commit
e617568561
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue