예제 #1
0
 def underline_get_fixture(self, request):
     r_cxml, expected_value = request.param
     run = Font(element(r_cxml), None)
     return run, expected_value
예제 #2
0
 def underline_set_fixture(self, request):
     initial_r_cxml, value, expected_cxml = request.param
     run = Font(element(initial_r_cxml), None)
     expected_xml = xml(expected_cxml)
     return run, value, expected_xml
예제 #3
0
 def superscript_get_fixture(self, request):
     r_cxml, expected_value = request.param
     font = Font(element(r_cxml))
     return font, expected_value
예제 #4
0
 def superscript_set_fixture(self, request):
     r_cxml, value, expected_r_cxml = request.param
     font = Font(element(r_cxml))
     expected_xml = xml(expected_r_cxml)
     return font, value, expected_xml
예제 #5
0
 def highlight_set_fixture(self, request):
     r_cxml, value, expected_cxml = request.param
     font = Font(element(r_cxml), None)
     expected_xml = xml(expected_cxml)
     return font, value, expected_xml
예제 #6
0
 def highlight_get_fixture(self, request):
     r_cxml, expected_value = request.param
     font = Font(element(r_cxml), None)
     return font, expected_value
예제 #7
0
 def color_fixture(self, ColorFormat_, color_):
     font = Font(element('w:r'))
     return font, color_, ColorFormat_
예제 #8
0
 def bool_prop_set_fixture(self, request):
     r_cxml, prop_name, value, expected_cxml = request.param
     font = Font(element(r_cxml))
     expected_xml = xml(expected_cxml)
     return font, prop_name, value, expected_xml
예제 #9
0
 def bool_prop_get_fixture(self, request):
     r_cxml, bool_prop_name, expected_value = request.param
     font = Font(element(r_cxml))
     return font, bool_prop_name, expected_value