tests: do not depend on message strings (#23138)

This commit is contained in:
Frédéric Péters 2018-05-22 21:17:32 +02:00
parent 4cd6169edf
commit 311aaa13cb
1 changed files with 0 additions and 2 deletions

View File

@ -414,8 +414,6 @@ def test_send_new_remote_invoices_by_email(mock_get, user_saml, admin, app, remo
assert mailoutbox[0].from_email == settings.DEFAULT_FROM_EMAIL
assert mailoutbox[0].subject == u'Nouvelle facture numéro 01 disponible'
html_message = mailoutbox[0].alternatives[0][0]
assert 'Combo' in mailoutbox[0].body
assert 'Combo' in html_message
assert 'http://localhost' in mailoutbox[0].body
assert 'http://localhost' in html_message
assert mailoutbox[0].attachments[0][0] == '01.pdf'