Esempio n. 1
0
 def setUp(self):
     gridCol_xml = '<a:gridCol %s w="3048000"/>' % nsdecls('a')
     test_gridCol_elm = parse_xml_bytes(gridCol_xml)
     self.column = _Column(test_gridCol_elm, Mock(name='table'))
Esempio n. 2
0
 def width_set_fixture(self, request, parent_):
     gridCol_cxml, new_width, expected_gridCol_cxml = request.param
     column = _Column(element(gridCol_cxml), parent_)
     expected_xml = xml(expected_gridCol_cxml)
     return column, new_width, expected_xml, parent_
Esempio n. 3
0
 def width_get_fixture(self, request):
     gridCol_cxml, expected_value = request.param
     column = _Column(element(gridCol_cxml), None)
     return column, expected_value
Esempio n. 4
0
 def setUp(self):
     gridCol_xml = '<a:gridCol %s w="3048000"/>' % nsdecls('a')
     test_gridCol_elm = parse_xml_bytes(gridCol_xml)
     self.column = _Column(test_gridCol_elm, Mock(name='table'))
Esempio n. 5
0
 def width_set_fixture(self, request, parent_):
     gridCol_cxml, new_width, expected_gridCol_cxml = request.param
     column = _Column(element(gridCol_cxml), parent_)
     expected_xml = xml(expected_gridCol_cxml)
     return column, new_width, expected_xml, parent_
Esempio n. 6
0
 def width_get_fixture(self, request):
     gridCol_cxml, expected_value = request.param
     column = _Column(element(gridCol_cxml), None)
     return column, expected_value