From 9cf93554633b8663d34e717e62e790ca2bacc44f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 19 Nov 2019 09:09:22 +0100 Subject: [PATCH] tests: don't check application/msword extension as it may vary (#36515) --- tests/test_admin_pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_admin_pages.py b/tests/test_admin_pages.py index 9945dc2ac..53e259473 100644 --- a/tests/test_admin_pages.py +++ b/tests/test_admin_pages.py @@ -4632,7 +4632,7 @@ def test_settings_filetypes(pub): resp = resp.forms[0].submit('submit') assert resp.location == 'http://example.net/backoffice/settings/filetypes/' resp = resp.follow() - assert 'application/msword (.do' in resp.text + assert 'application/msword (.' in resp.text assert 'application/pdf' in pub.cfg['filetypes'][1]['mimetypes'] resp.forms[0]['label'] = 'HTML files'