disable logging while running unit tests in python django,logging.disable(logging.CRITICAL)