コード例 #1
0
ファイル: test_log.py プロジェクト: USGS-Astrogeology/plio
 def test_setup(self):
     log.setup_logging(path='')
     logger = logging.getLogger(__name__)
     self.assertEqual(logger.root.level, logging.INFO)
コード例 #2
0
ファイル: test_log.py プロジェクト: tthatcher95/plio
 def test_setup(self):
     log.setup_logging(path='')
     logger = logging.getLogger(__name__)
     self.assertEqual(logger.root.level, logging.INFO)
コード例 #3
0
ファイル: test_log.py プロジェクト: USGS-Astrogeology/plio
 def test_setup_yaml(self):
     log.setup_logging(path=get_path('logging.yaml'))
     logger = logging.getLogger(__name__)
     self.assertEqual(logger.root.level, logging.DEBUG)
コード例 #4
0
ファイル: test_log.py プロジェクト: tthatcher95/plio
 def test_setup_yaml(self):
     log.setup_logging(path=get_path('logging.yaml'))
     logger = logging.getLogger(__name__)
     self.assertEqual(logger.root.level, logging.DEBUG)