Ejemplo n.º 1
0
Archivo: asl.py Proyecto: no-sec/plaso
  def testGetFormatStringAttributeNames(self):
    """Tests the GetFormatStringAttributeNames function."""
    event_formatter = asl.ASLFormatter()

    expected_attribute_names = [
        'message_id', 'level', 'user_sid', 'group_id', 'read_uid',
        'read_gid', 'computer_name', 'sender', 'facility', 'message',
        'extra_information']

    self._TestGetFormatStringAttributeNames(
        event_formatter, expected_attribute_names)
Ejemplo n.º 2
0
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = asl.ASLFormatter()
     self.assertIsNotNone(event_formatter)