Merge "Fix stdout leakage during opportunistic db tests"

This commit is contained in:
Jenkins
2016-09-23 11:49:27 +00:00
committed by Gerrit Code Review
+7
View File
@@ -64,6 +64,7 @@ from nova import objects
from nova.objects import fields
from nova import quota
from nova import test
from nova.tests import fixtures as nova_fixtures
from nova.tests.unit import fake_console_auth_token
from nova.tests.unit import matchers
from nova.tests import uuidsentinel
@@ -9714,6 +9715,12 @@ class RetryOnDeadlockTestCase(test.TestCase):
class TestSqlalchemyTypesRepr(test_base.DbTestCase):
def setUp(self):
# NOTE(sdague): the oslo_db base test case completely
# invalidates our logging setup, we actually have to do that
# before it is called to keep this from vomitting all over our
# test output.
self.useFixture(nova_fixtures.StandardLogging())
super(TestSqlalchemyTypesRepr, self).setUp()
meta = MetaData(bind=self.engine)
self.table = Table(