コード例 #1
0
 def tearDownTestData(cls):
     # set log level back to normal
     log.setLevel(cls.loglevel)
コード例 #2
0
 def setUpTestData(cls):
     # skip debug messages during testing
     cls.loglevel = log.getEffectiveLevel()
     log.setLevel(logging.WARNING)
     cls.tests_app = apps.get_app_config('tests')
コード例 #3
0
 def setUpTestData(cls):
     # skip debug messages during testing
     cls.loglevel = log.getEffectiveLevel()
     log.setLevel(logging.WARNING)
コード例 #4
0
 def setUp(cls):
     # skip debug messages during testing
     cls.loglevel = log.getEffectiveLevel()
     log.setLevel(logging.WARNING)
     set_default_converter(TestingConverter)