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
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
def priority_get_fixture(self, request): lsdException_cxml, expected_value = request.param latent_style = _LatentStyle(element(lsdException_cxml)) return latent_style, expected_value
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
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