

def _check_293(self, engine, data):
    self.assertColumnExists(engine, 'migrations', 'migration_type')
    self.assertColumnExists(engine, 'shadow_migrations', 'migration_type')
    migrations = oslodbutils.get_table(engine, 'migrations')
    fake_migration = migrations.select().execute().first()
    self.assertIsNone(fake_migration.migration_type)
    self.assertFalse(fake_migration.hidden)

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