Beispiel #1
0
 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)
Beispiel #2
0
 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)
Beispiel #3
0
 def test_will_be_verbose_if_verbose_flag_set(self):
     self.flags(verbose=True)
     log.reset()
     self.assertEqual(log.DEBUG, self.log.level)
Beispiel #4
0
 def test_will_be_verbose_if_verbose_flag_set(self):
     self.flags(verbose=True)
     log.reset()
     self.assertEqual(log.DEBUG, self.log.level)