def test_will_not_be_verbose_if_verbose_flag_not_set(self): self.flags(verbose=False) log.reset() self.assertEqual(log.INFO, self.log.level)
def test_will_be_verbose_if_verbose_flag_set(self): self.flags(verbose=True) log.reset() self.assertEqual(log.DEBUG, self.log.level)