aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/openstack/vping/test_vping.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/tests/unit/openstack/vping/test_vping.py')
-rw-r--r--functest/tests/unit/openstack/vping/test_vping.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/functest/tests/unit/openstack/vping/test_vping.py b/functest/tests/unit/openstack/vping/test_vping.py
index 42650dea..91cf2259 100644
--- a/functest/tests/unit/openstack/vping/test_vping.py
+++ b/functest/tests/unit/openstack/vping/test_vping.py
@@ -50,6 +50,8 @@ class VPingUserdataTesting(unittest.TestCase):
@mock.patch('snaps.openstack.utils.deploy_utils.create_vm_instance')
@mock.patch('os.path.exists', return_value=True)
+ @mock.patch('snaps.openstack.utils.keystone_utils.keystone_client')
+ @mock.patch('snaps.openstack.utils.keystone_utils.get_project')
@mock.patch('snaps.openstack.create_flavor.OpenStackFlavor.create',
return_value=None)
@mock.patch('snaps.openstack.create_instance.OpenStackVmInstance.'
@@ -99,6 +101,8 @@ class VPingSSHTesting(unittest.TestCase):
@mock.patch('snaps.openstack.utils.deploy_utils.create_vm_instance')
@mock.patch('os.path.exists', return_value=True)
+ @mock.patch('snaps.openstack.utils.keystone_utils.keystone_client')
+ @mock.patch('snaps.openstack.utils.keystone_utils.get_project')
@mock.patch('snaps.openstack.create_flavor.OpenStackFlavor.create',
return_value=None)
@mock.patch('snaps.openstack.create_instance.OpenStackVmInstance.'