diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-09-13 15:29:07 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-28 13:29:03 +0100 |
| commit | dc6e96be9801261c4ca3d9e90cf9dcb24b8666af (patch) | |
| tree | 0d686e43555908177719df24e66528ad24928538 /tests/mammoth_tests.py | |
| parent | ecb539ddcd92e93572fd2cdf6c454e504a5a92ec (diff) | |
Remove support for convert_underline
Diffstat (limited to 'tests/mammoth_tests.py')
| -rw-r--r-- | tests/mammoth_tests.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/mammoth_tests.py b/tests/mammoth_tests.py index 677a97b..1b97a1a 100644 --- a/tests/mammoth_tests.py +++ b/tests/mammoth_tests.py @@ -199,13 +199,6 @@ def underline_is_ignored_by_default(): @istest -def underline_can_be_configured_with_convert_underline_option(): - with open(test_path("underline.docx"), "rb") as fileobj: - result = mammoth.convert_to_html(fileobj=fileobj, convert_underline=mammoth.underline.element("em")) - assert_equal('<p><strong>The <em>Sunset</em> Tree</strong></p>', result.value) - - -@istest def underline_can_be_configured_with_style_mapping(): with open(test_path("underline.docx"), "rb") as fileobj: result = mammoth.convert_to_html(fileobj=fileobj, style_map="u => em") |
