Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_setup_logger():
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
os.environ['LOG_LEVEL'] = 'DEBUG'
Common.setup_logger(logger)