mentat.stats.test_rrd.
TestMentatStatsRrd
Bases: unittest.case.TestCase
unittest.case.TestCase
setUp
Hook method for setting up the test fixture before exercising it.
tearDown
Hook method for deconstructing the test fixture after testing it.
test_01_internals
Perform the basic operativity tests of internal and helper methods.
test_02_prepare_db
Test creation of RRD database files.
test_03_find_dbs
Test the lookup of RRD database files.
test_04_update
Test update of RRD database files.
test_05_update_all
Test global update of all RRD database files.
test_06_export
Test exporting of RRD database files.
test_07_lookup
Test lookup of all RRD charts, spark charts and JSON export files.
test_08_generate
Test generating all RRD charts, spark charts and JSON export files.
verbose