tests: don't check application/msword extension as it may vary (#36515)

This commit is contained in:
Frédéric Péters 2019-11-19 09:09:22 +01:00
parent 03987a6e6c
commit 9cf9355463
1 changed files with 1 additions and 1 deletions

View File

@ -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'