예제 #1
0
파일: syslog_cron.py 프로젝트: no-sec/plaso
    def testGetFormatStringAttributeNames(self):
        """Tests the GetFormatStringAttributeNames function."""
        event_formatter = cron.CronTaskRunEventFormatter()

        expected_attribute_names = ['command', 'username', 'pid']

        self._TestGetFormatStringAttributeNames(event_formatter,
                                                expected_attribute_names)
예제 #2
0
파일: syslog_cron.py 프로젝트: no-sec/plaso
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = cron.CronTaskRunEventFormatter()
     self.assertIsNotNone(event_formatter)