def test_smoke(self): utils.Logging('fmf').set(utils.LOG_ALL) utils.info("something") utils.log.info("info") utils.log.debug("debug") utils.log.cache("cache") utils.log.data("data") utils.log.all("all")
def test_level(self): for level in [1, 4, 7, 10, 20, 30, 40]: utils.Logging('fmf').set(level) assert (utils.Logging('fmf').get() == level)