mentat.stats.test_rrd module

class mentat.stats.test_rrd.TestMentatStatsRrd(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_01_internals()[source]

Perform the basic operativity tests of internal and helper methods.

test_02_prepare_db()[source]

Test creation of RRD database files.

test_03_find_dbs()[source]

Test the lookup of RRD database files.

test_04_update()[source]

Test update of RRD database files.

test_05_update_all()[source]

Test global update of all RRD database files.

test_06_export()[source]

Test exporting of RRD database files.

test_07_lookup()[source]

Test lookup of all RRD charts, spark charts and JSON export files.

test_08_generate()[source]

Test generating all RRD charts, spark charts and JSON export files.

verbose = False