diff options
-rw-r--r-- | tests/test_transport.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_transport.py b/tests/test_transport.py index 56f5caa..7ba2ee4 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -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): |