def setup_alembic(): global config, context pwconfig.init_config() pwconfig.init_logging() #context.config.config_file_name = None context.config.set_main_option("sqlalchemy.url", pwconfig.config['sqlalchemy.url'])
def setUpClass(cls): """ Initialize the encryption engine with a test key. """ init_config(configfiles=[TEST_INI]) init_logging(configfiles=[LOGGING_INI])
def setup_app(options): """ Dependency task to initialize runtime configuration. """ init_config() init_logging()