0004-tests-only-look-for-the-mimetype-in-response-body-10.patch
tests/test_admin_pages.py | ||
---|---|---|
2528 | 2528 |
resp = resp.forms[0].submit('submit') |
2529 | 2529 |
assert resp.location == 'http://example.net/backoffice/settings/filetypes/' |
2530 | 2530 |
resp = resp.follow() |
2531 |
assert 'application/msword (.doc)' in resp.body
|
|
2531 |
assert 'application/msword (' in resp.body |
|
2532 | 2532 |
assert 'application/pdf' in pub.cfg['filetypes'][1]['mimetypes'] |
2533 | 2533 | |
2534 | 2534 |
resp.forms[0]['label'] = 'HTML files' |
2535 |
- |