Skip to content

Commit 6aacfb0

Browse files
author
Jason Ward
committed
refs #29: updated tests based on merged master
1 parent 8dd789e commit 6aacfb0

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

pydocx/tests/test_xml.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -673,14 +673,12 @@ def get_xml(self):
673673

674674
class DeleteTagInList(_TranslationTestCase):
675675
expected_output = '''
676-
<html><body>
677-
<ol data-list-type="decimal">
676+
<ol list-style-type="decimal">
678677
<li>AAA<br/>
679678
<span class='delete' author='' date=''>BBB</span>
680679
</li>
681680
<li>CCC</li>
682681
</ol>
683-
</body></html>
684682
'''
685683

686684
def get_xml(self):
@@ -697,14 +695,12 @@ def get_xml(self):
697695

698696
class InsertTagInList(_TranslationTestCase):
699697
expected_output = '''
700-
<html><body>
701-
<ol data-list-type="decimal">
698+
<ol list-style-type="decimal">
702699
<li>AAA<br/>
703700
<span class='insert' author='' date=''>BBB</span>
704701
</li>
705702
<li>CCC</li>
706703
</ol>
707-
</body></html>
708704
'''
709705

710706
def get_xml(self):
@@ -722,14 +718,12 @@ def get_xml(self):
722718

723719
class SmartTagInList(_TranslationTestCase):
724720
expected_output = '''
725-
<html><body>
726-
<ol data-list-type="decimal">
721+
<ol list-style-type="decimal">
727722
<li>AAA<br/>
728723
BBB
729724
</li>
730725
<li>CCC</li>
731726
</ol>
732-
</body></html>
733727
'''
734728

735729
def get_xml(self):

0 commit comments

Comments
 (0)