tests: do not depend on message strings (#23138)
This commit is contained in:
parent
4cd6169edf
commit
311aaa13cb
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue