Module Expr Str ImportFrom alias alias Import alias ImportFrom alias alias alias alias alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad Call NameLoad Str Num Str Call NameLoad Str Num Str decorator_list Call NameLoad Str ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad Call NameLoad NameLoad NameLoad NameLoad Str Call NameLoad Str Num Str Str Call NameLoad Str Num Str decorator_list Call NameLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assert CompareEq AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIs NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assert CompareEq BinOpMod Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Str decorator_list decorator_list
N/A N/A 
Test suite for pptx.enum module, focused on base classes. Configured a little
differently because of the meta-programming, the two enumeration classes at
the top constitute the entire fixture and the tests themselves just make
assertions on those.
 __future__ absolute_import print_function N/A pytest pptx.enum.base alias Enumeration EnumMember ReturnValueOnlyEnumMember XmlEnumeration XmlMappedEnumMember FOOBAR N/A Enumeration N/A N/A 
    Enumeration docstring
     N/A __ms_name__ MsoFoobar N/A __url__ http://msdn.microsoft.com/foobar.aspx N/A __members__ N/A N/A EnumMember READ_WRITE 1 Readable and settable N/A ReturnValueOnlyEnumMember READ_ONLY -2 Return value only N/A N/A alias BARFOO XMLFOO N/A XmlEnumeration N/A N/A 
    XmlEnumeration docstring
     N/A __ms_name__ MsoXmlFoobar N/A __url__ http://msdn.microsoft.com/msoxmlfoobar.aspx N/A __members__ N/A N/A XmlMappedEnumMember None None None No setting N/A XmlMappedEnumMember XML_RW 42 attrVal Read/write setting N/A ReturnValueOnlyEnumMember RO -2 Return value only; N/A N/A alias XML-FU DescribeEnumeration N/A object N/A it_has_the_right_metaclass N/A N/A self N/A N/A N/A N/A N/A N/A type FOOBAR __name__ MetaEnumeration N/A it_provides_an_EnumValue_instance_for_each_named_member N/A N/A self N/A N/A N/A obj N/A N/A FOOBAR READ_WRITE N/A FOOBAR READ_ONLY N/A N/A N/A N/A N/A type obj __name__ EnumValue N/A it_provides_the_enumeration_value_for_each_named_member N/A N/A self N/A N/A N/A N/A N/A FOOBAR READ_WRITE 1 N/A N/A N/A FOOBAR READ_ONLY -2 N/A it_knows_if_a_setting_is_valid N/A N/A self N/A N/A N/A N/A N/A FOOBAR validate N/A FOOBAR READ_WRITE N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A FOOBAR validate foobar N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A FOOBAR validate N/A FOOBAR READ_ONLY N/A it_can_be_referred_to_by_a_convenience_alias_if_defined N/A N/A self N/A N/A N/A N/A BARFOO FOOBAR N/A N/A DescribeEnumValue N/A object N/A it_provides_its_symbolic_name_as_its_string_value N/A N/A self N/A N/A N/A N/A N/A %s N/A FOOBAR READ_WRITE READ_WRITE (1) N/A it_provides_its_description_as_its_docstring N/A N/A self N/A N/A N/A N/A N/A N/A FOOBAR READ_ONLY __doc__ Return value only N/A N/A DescribeXmlEnumeration N/A object N/A it_knows_the_XML_value_for_each_of_its_xml_members N/A N/A self N/A N/A N/A N/A N/A N/A XMLFOO to_xml N/A XMLFOO XML_RW attrVal N/A N/A N/A N/A XMLFOO to_xml 42 attrVal N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A XMLFOO to_xml N/A XMLFOO RO N/A it_can_map_each_of_its_xml_members_from_the_XML_value N/A N/A self N/A N/A N/A N/A N/A N/A XMLFOO from_xml None None N/A N/A N/A N/A XMLFOO from_xml attrVal N/A XMLFOO XML_RW N/A N/A N/A str N/A N/A XMLFOO from_xml attrVal XML_RW (42) N/A N/A