Verify that check_app_loaded is called with correct app name
DF applications were renamed. However, invocations of check_app_loaded still use the old app names, and therefore tests are skipped. This change fixes that. Change-Id: Ib907e6cf1f54d802da59982d96e12ae9ef996c91
This commit is contained in:
parent
c6c5317710
commit
b5c7e3e5e5
|
@ -78,8 +78,7 @@ class TestOVSFlowsForActivePortDectionApp(test_base.DFTestBase):
|
|||
Add a VM with allowed address pairs configuration. Verify related
|
||||
flows is there.
|
||||
"""
|
||||
if not self.check_app_loaded(
|
||||
"active_port_detection_app.ActivePortDetectionApp"):
|
||||
if not self.check_app_loaded("active_port_detection"):
|
||||
self.skipTest("ActivePortDetectionApp is not enabled")
|
||||
|
||||
network = self.store(objects.NetworkTestObj(self.neutron, self.nb_api))
|
||||
|
|
|
@ -2063,8 +2063,7 @@ class TestAllowedAddressPairsDetectActive(test_base.DFTestBase):
|
|||
|
||||
def setUp(self):
|
||||
super(TestAllowedAddressPairsDetectActive, self).setUp()
|
||||
if not self.check_app_loaded(
|
||||
"active_port_detection_app.ActivePortDetectionApp"):
|
||||
if not self.check_app_loaded("active_port_detection"):
|
||||
self.skipTest("ActivePortDetectionApp is not enabled")
|
||||
self.topology = None
|
||||
self.policy = None
|
||||
|
|
Loading…
Reference in New Issue