Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 def position_get_fixture(self, request):
     dLbls_cxml, expected_value = request.param
     data_labels = DataLabels(element(dLbls_cxml))
     return data_labels, expected_value
Exemplo n.º 4
0
 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
Exemplo n.º 5
0
 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
Exemplo n.º 6
0
 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_