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:
Omer Anson 2017-07-13 10:59:20 +03:00
parent c6c5317710
commit b5c7e3e5e5
2 changed files with 2 additions and 4 deletions

View File

@ -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))

View File

@ -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