def setup_database(): scripts_dir = os.path.join( os.path.dirname(__file__), 'database', 'migrations', ) config_file_name = utils.get_config_test_filename() secrets_file_name = utils.get_admin_secrets_filename() utils.run_all_scripts(scripts_dir, config_file_name, secrets_file_name)
def setup_database(): scripts_dir = path.join( path.dirname(__file__), "..", "database", "migrations", ) config_file_name = utils.get_config_test_filename() secrets_file_name = utils.get_admin_secrets_filename() utils.run_all_scripts(scripts_dir, config_file_name, secrets_file_name)