

def _check_254(self, engine, data):
    self.assertColumnExists(engine, 'pci_devices', 'request_id')
    self.assertColumnExists(engine, 'shadow_pci_devices', 'request_id')
    pci_devices = oslodbutils.get_table(engine, 'pci_devices')
    shadow_pci_devices = oslodbutils.get_table(engine, 'shadow_pci_devices')
    self.assertIsInstance(pci_devices.c.request_id.type, sqlalchemy.types.String)
    self.assertIsInstance(shadow_pci_devices.c.request_id.type, sqlalchemy.types.String)

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