コード例 #1
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')
コード例 #2
0
 def setUpTestData(cls):
     # skip debug messages during testing
     cls.loglevel = log.getEffectiveLevel()
     log.setLevel(logging.WARNING)
コード例 #3
0
 def setUp(cls):
     # skip debug messages during testing
     cls.loglevel = log.getEffectiveLevel()
     log.setLevel(logging.WARNING)
     set_default_converter(TestingConverter)