From 311aaa13cbdbec46a19017f6963f9e246b0420aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 22 May 2018 21:17:32 +0200 Subject: [PATCH] tests: do not depend on message strings (#23138) --- tests/test_lingo_remote_regie.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_lingo_remote_regie.py b/tests/test_lingo_remote_regie.py index 903b7e57..31226ab1 100644 --- a/tests/test_lingo_remote_regie.py +++ b/tests/test_lingo_remote_regie.py @@ -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'