Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _set_up_flask_logging(app, level=logging.DEBUG):
cf_logging._SETUP_DONE = False
flask_logging.init(app, level)
def test_flask_requires_valid_app():
""" Test the init api expects a valid app """
flask_logging.init({})