

def db_sync(self, engine):
    with mock.patch.object(sa_migration, 'get_engine', return_value=engine):
        sa_migration.db_sync()

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/db/test_migrations.py NovaMigrationsCheckers.db_sync/original