def tearDownTestData(cls): # set log level back to normal log.setLevel(cls.loglevel)
def setUpTestData(cls): # skip debug messages during testing cls.loglevel = log.getEffectiveLevel() log.setLevel(logging.WARNING) cls.tests_app = apps.get_app_config('tests')
def setUpTestData(cls): # skip debug messages during testing cls.loglevel = log.getEffectiveLevel() log.setLevel(logging.WARNING)
def setUp(cls): # skip debug messages during testing cls.loglevel = log.getEffectiveLevel() log.setLevel(logging.WARNING) set_default_converter(TestingConverter)