Beispiel #1
0
 def on_off_get_fixture(self, request):
     lsdException_cxml, prop_name, expected_value = request.param
     latent_style = _LatentStyle(element(lsdException_cxml))
     return latent_style, prop_name, expected_value
Beispiel #2
0
 def delete_fixture(self):
     latent_styles = element('w:latentStyles/w:lsdException{w:name=Foo}')
     latent_style = _LatentStyle(latent_styles[0])
     expected_xml = xml('w:latentStyles')
     return latent_style, latent_styles, expected_xml
Beispiel #3
0
 def priority_get_fixture(self, request):
     lsdException_cxml, expected_value = request.param
     latent_style = _LatentStyle(element(lsdException_cxml))
     return latent_style, expected_value
Beispiel #4
0
 def priority_set_fixture(self, request):
     lsdException_cxml, new_value, expected_cxml = request.param
     latent_style = _LatentStyle(element(lsdException_cxml))
     expected_xml = xml(expected_cxml)
     return latent_style, new_value, expected_xml
Beispiel #5
0
 def on_off_set_fixture(self, request):
     lsdException_cxml, prop_name, value, expected_cxml = request.param
     latent_styles = _LatentStyle(element(lsdException_cxml))
     expected_xml = xml(expected_cxml)
     return latent_styles, prop_name, value, expected_xml