tests: fix random test failure

This commit is contained in:
Lauréline Guérin 2020-12-14 16:31:07 +01:00
parent 1a963a756b
commit e01b9115cd
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ def test_mail_templates_disabled(pub, superuser):
def test_mail_templates_basics(pub, superuser, mail_templates_option):
MailTemplate.wipe()
app = login(get_app(pub))
resp = app.get('/backoffice/workflows/')
assert 'Mail Templates' in resp