tests: don't check application/msword extension as it may vary (#36515)
This commit is contained in:
parent
03987a6e6c
commit
9cf9355463
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue