Exemple #1
0
    def testGetFormatStringAttributeNames(self):
        """Tests the GetFormatStringAttributeNames function."""
        event_formatter = pls_recall.PlsRecallFormatter()

        expected_attribute_names = [
            'sequence_number', 'username', 'database_name', 'query'
        ]

        self._TestGetFormatStringAttributeNames(event_formatter,
                                                expected_attribute_names)
Exemple #2
0
 def testInitialization(self):
   """Tests the initialization."""
   event_formatter = pls_recall.PlsRecallFormatter()
   self.assertIsNotNone(event_formatter)