Merge "Fix use of conf_fixture"

This commit is contained in:
Jenkins
2014-11-30 11:56:27 +00:00
committed by Gerrit Code Review
+1 -2
View File
@@ -84,8 +84,7 @@ class NovaMigrationsCheckers(test_migrations.WalkVersionsMixin):
def setUp(self):
super(NovaMigrationsCheckers, self).setUp()
conf_fixture.ConfFixture(cfg.CONF)
self.addCleanup(cfg.CONF.reset)
self.useFixture(conf_fixture.ConfFixture(cfg.CONF))
# NOTE(viktors): We should reduce log output because it causes issues,
# when we run tests with testr
migrate_log = logging.getLogger('migrate')