def testGetFormatStringAttributeNames(self): """Tests the GetFormatStringAttributeNames function.""" event_formatter = safari.SafariHistoryFormatterSqlite() expected_attribute_names = [ 'url', 'title', 'visit_count', 'was_http_non_get'] self._TestGetFormatStringAttributeNames( event_formatter, expected_attribute_names)
def testInitialization(self): """Tests the initialization.""" event_formatter = safari.SafariHistoryFormatterSqlite() self.assertIsNotNone(event_formatter)