Merge "Make test_nova_manage pass with CONF.use_neutron=True by default"

This commit is contained in:
Jenkins 2017-01-04 17:41:44 +00:00 committed by Gerrit Code Review
commit 7588f96973
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ class FloatingIpCommandsTestCase(test.NoDBTestCase):
class NetworkCommandsTestCase(test.NoDBTestCase):
def setUp(self):
super(NetworkCommandsTestCase, self).setUp()
# These are all tests that assume nova-network and using the nova DB.
self.flags(use_neutron=False)
self.output = StringIO()
self.useFixture(fixtures.MonkeyPatch('sys.stdout', self.output))
self.commands = manage.NetworkCommands()