

def it_can_construct_a_default_styles_part_to_help(self):
    package = OpcPackage()
    styles_part = StylesPart.default(package)
    assert isinstance(styles_part, StylesPart)
    assert (styles_part.partname == '/word/styles.xml')
    assert (styles_part.content_type == CT.WML_STYLES)
    assert (styles_part.package is package)
    assert (len(styles_part.element) == 6)

dataset/ETHPy150Open python-openxml/python-docx/tests/parts/test_styles.py DescribeStylesPart.it_can_construct_a_default_styles_part_to_help/original