def db_initialization(request): from config import configs with temporary_database() as dburi: test_config = configs['test'] test_config.SQLALCHEMY_DATABASE_URI = dburi load_from_app_model(dburi) load_test_fixtures(dburi) yield