

def setUp(self):
    super(NovaMigrationsCheckers, self).setUp()
    migrate_log = logging.getLogger('migrate')
    old_level = migrate_log.level
    migrate_log.setLevel(logging.WARN)
    self.addCleanup(migrate_log.setLevel, old_level)
    self.useFixture(nova_fixtures.Timeout(os.environ.get('OS_TEST_TIMEOUT', 0), self.TIMEOUT_SCALING_FACTOR))

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