Fix octavia driver unittests

Commit I566aaa65df4ba7455577a539aa9eebb6cc36a099 removed
_init_rpc_listener from teh driver, and it should be removed from
the tests as well.

Change-Id: I6ba9ac1bd2a97a17f5f407e11ad5397cfc832537
This commit is contained in:
Adit Sarfaty
2019-11-03 08:15:37 +02:00
parent 3d057c1a47
commit 42423f403e

View File

@@ -48,7 +48,6 @@ class TestNsxProviderDriver(testtools.TestCase):
return
# init the NSX driver without the RPC & certificate
with mock.patch(DRIVER + '._init_rpc_messaging'), \
mock.patch(DRIVER + '._init_rpc_listener'), \
mock.patch(DRIVER + '._init_cert_manager'):
self.driver = driver.NSXOctaviaDriver()
self.driver.client = mock.Mock()