mentat.test_system module

Unit test module for testing the mentat.system module.

class mentat.test_system.TestMentatStorage(methodName='runTest')[source]

Bases: TestCase

Unit test class for testing the mentat.system module.

test_01_analyze_process_ps()[source]

Perform basic tests of single process analysis.

test_02_analyze_process_list_ps()[source]

Perform basic tests of process list analysis.

test_03_analyze_pid_file()[source]

Perform basic tests of single PID file analysis.

test_04_analyze_pid_files()[source]

Perform basic tests of PID files analysis.

test_05_analyze_cron_file()[source]

Perform basic tests of single cron file analysis.

test_06_analyze_cron_files()[source]

Perform basic tests of cron files analysis.

test_07_analyze_log_file()[source]

Perform basic tests of single log file analysis.

test_08_analyze_log_files()[source]

Perform basic tests of log files analysis.

test_09_analyze_runlog_file()[source]

Perform basic tests of single runlog file analysis.

test_10_analyze_runlog_files()[source]

Perform basic tests of runlog files analysis.

test_11_module_status()[source]

Perform the basic Mentat system tests.

verbose = False