mentat.daemon.component.test_commiter module

Unit test module for testing the mentat.daemon.component.commiter module.

class mentat.daemon.component.test_commiter.TestMentatDaemonCommiter(methodName='runTest')[source]

Bases: mentat.daemon.component.testsuite.DaemonComponentTestCase

Unit test class for testing the mentat.daemon.component.commiter module.

results = {'message01': {'Category': ['Attempt.Login'], 'DetectTime': '2016-06-21T13:08:27Z', 'Format': 'IDEA0', 'ID': 'message01', 'Node': [{'SW': ['Kippo'], 'Name': 'cz.uhk.apate.cowrie', 'Type': ['Connection', 'Honeypot']}], 'Note': 'SSH login attempt', 'Source': [{'IP4': ['188.14.166.39']}], 'Target': [{'IP4': ['195.113.165.128/25'], 'Port': [22]}], '_CESNET': {'StorageTime': '2016-06-21T14:00:07Z'}}}
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_01_setup()[source]

Perform the component setup tests.

test_02_process()[source]

Perform processing test.