def txPr_fixture(self, request): dLbls_cxml, expected_cxml = request.param data_labels = DataLabels(element(dLbls_cxml)) expected_xml = xml(expected_cxml) return data_labels, expected_xml
def position_set_fixture(self, request): dLbls_cxml, new_value, expected_dLbls_cxml = request.param data_labels = DataLabels(element(dLbls_cxml)) expected_xml = xml(expected_dLbls_cxml) return data_labels, new_value, expected_xml
def position_get_fixture(self, request): dLbls_cxml, expected_value = request.param data_labels = DataLabels(element(dLbls_cxml)) return data_labels, expected_value
def number_format_is_linked_set_fixture(self, request): dLbls_cxml, new_value, expected_dLbls_cxml = request.param data_labels = DataLabels(element(dLbls_cxml)) expected_xml = xml(expected_dLbls_cxml) return data_labels, new_value, expected_xml
def number_format_is_linked_get_fixture(self, request): dLbls_cxml, expected_value = request.param data_labels = DataLabels(element(dLbls_cxml)) return data_labels, expected_value
def font_fixture(self, Font_, font_): dLbls = element('c:dLbls/c:txPr/a:p/a:pPr/a:defRPr') defRPr = dLbls.xpath('.//a:defRPr')[0] data_labels = DataLabels(dLbls) return data_labels, Font_, defRPr, font_