def test_load_tsa(self): print("testing delete_caches, load_tsa") dl = DataLogger("testdata") dl.setup("sanportperf", "fcIfC3AccountingTable", "2018-04-01") dl.delete_caches() tsa = dl.load_tsa() #print(tsa) dl = DataLogger("testdata") dl.setup("mysql", "performance", "2018-04-01") dl.delete_caches() tsa = dl.load_tsa()
def test_load_caches(self): print("testing delete_caches, get_caches") dl = DataLogger("testdata") dl.setup("mysql", "performance", "2018-04-01") dl.delete_caches() print(dl.get_caches()) tsa = dl.load_tsa() print(dl.get_caches())