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_falcon_logging(app, *args):
cf_logging._SETUP_DONE = False
falcon_logging.init(app, logging.DEBUG, *args)
def test_falcon_requires_valid_app():
""" Test the init api expects a valid app """
falcon_logging.init({})