Ejemplo n.º 1
0
 def test_configure_logging_default(self):
     log_level = burn_in.LOGGER.getEffectiveLevel()
     evg_client_log_level = evg_client.LOGGER.getEffectiveLevel()
     burn_in.configure_logging(None, None)
     self.assertEqual(burn_in.LOGGER.getEffectiveLevel(), log_level)
     self.assertEqual(evg_client.LOGGER.getEffectiveLevel(),
                      evg_client_log_level)
Ejemplo n.º 2
0
 def test_configure_logging(self):
     log_level = 15
     evg_client_log_level = 20
     burn_in.configure_logging(log_level, evg_client_log_level)
     self.assertEqual(burn_in.LOGGER.getEffectiveLevel(), log_level)
     self.assertEqual(evg_client.LOGGER.getEffectiveLevel(),
                      evg_client_log_level)
Ejemplo n.º 3
0
 def test_configure_logging_default(self):
     log_level = burn_in.LOGGER.getEffectiveLevel()
     evg_client_log_level = evg_client.LOGGER.getEffectiveLevel()
     burn_in.configure_logging(None, None)
     self.assertEqual(burn_in.LOGGER.getEffectiveLevel(), log_level)
     self.assertEqual(evg_client.LOGGER.getEffectiveLevel(), evg_client_log_level)
Ejemplo n.º 4
0
 def test_configure_logging(self):
     log_level = 15
     evg_client_log_level = 20
     burn_in.configure_logging(log_level, evg_client_log_level)
     self.assertEqual(burn_in.LOGGER.getEffectiveLevel(), log_level)
     self.assertEqual(evg_client.LOGGER.getEffectiveLevel(), evg_client_log_level)