

def _check_231(self, engine, data):
    self.assertColumnExists(engine, 'instances', 'ephemeral_key_uuid')
    instances = oslodbutils.get_table(engine, 'instances')
    self.assertIsInstance(instances.c.ephemeral_key_uuid.type, sqlalchemy.types.String)
    self.assertTrue(db_utils.check_shadow_table(engine, 'instances'))

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