Merge "Fixed possible pep8 failure due to pyflakes bug"

This commit is contained in:
Jenkins 2014-03-28 18:47:39 +00:00 committed by Gerrit Code Review
commit a2106027b7

View File

@ -144,11 +144,11 @@ class GetTransportTestCase(test_utils.BaseTestCase):
kwargs['allowed_remote_exmods'] = self.allowed
if self.aliases is not None:
kwargs['aliases'] = self.aliases
transport = messaging.get_transport(self.conf, **kwargs)
transport_ = messaging.get_transport(self.conf, **kwargs)
self.assertIsNotNone(transport)
self.assertIs(transport.conf, self.conf)
self.assertIs(transport._driver, drvr)
self.assertIsNotNone(transport_)
self.assertIs(transport_.conf, self.conf)
self.assertIs(transport_._driver, drvr)
class GetTransportSadPathTestCase(test_utils.BaseTestCase):