def testGetFormatStringAttributeNames(self): """Tests the GetFormatStringAttributeNames function.""" event_formatter = olecf.OleCfDocumentSummaryInfoFormatter() expected_attribute_names = [ u'number_of_bytes', u'number_of_lines', u'number_of_paragraphs', u'number_of_slides', u'number_of_notes', u'number_of_hidden_slides', u'number_of_clips', u'company', u'manager', u'shared_document', u'application_version', u'content_type', u'content_status', u'language', u'document_version' ] self._TestGetFormatStringAttributeNames(event_formatter, expected_attribute_names)
def testInitialization(self): """Tests the initialization.""" event_formatter = olecf.OleCfDocumentSummaryInfoFormatter() self.assertIsNotNone(event_formatter)