aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'functest/tests/unit')
-rw-r--r--functest/tests/unit/vnf/epc/test_juju_epc.py19
1 files changed, 1 insertions, 18 deletions
diff --git a/functest/tests/unit/vnf/epc/test_juju_epc.py b/functest/tests/unit/vnf/epc/test_juju_epc.py
index b3eef862..6b413706 100644
--- a/functest/tests/unit/vnf/epc/test_juju_epc.py
+++ b/functest/tests/unit/vnf/epc/test_juju_epc.py
@@ -52,15 +52,7 @@ class JujuEpcTesting(unittest.TestCase):
return_value={'tenant_images': 'foo',
'orchestrator': self.orchestrator,
'vnf': self.vnf, 'vnf_test_suite': '',
- 'version': 'whatever'}), \
- mock.patch('functest.utils.openstack_utils.get_keystone_client',
- return_value='test'), \
- mock.patch('functest.utils.openstack_utils.get_glance_client',
- return_value='test'), \
- mock.patch('functest.utils.openstack_utils.get_neutron_client',
- return_value='test'), \
- mock.patch('functest.utils.openstack_utils.get_nova_client',
- return_value='test'):
+ 'version': 'whatever'}):
self.epc_vnf = juju_epc.JujuEpc()
self.images = {'image1': 'url1',
@@ -70,15 +62,6 @@ class JujuEpcTesting(unittest.TestCase):
'test_vnf': {}}
@unittest.skip("It must be fixed. Please see JIRA FUNCTEST-915")
- @mock.patch('functest.utils.openstack_utils.get_keystone_client',
- return_value='test')
- @mock.patch('functest.utils.openstack_utils.get_or_create_tenant_for_vnf',
- return_value=True)
- @mock.patch('functest.utils.openstack_utils.get_or_create_user_for_vnf',
- return_value=True)
- @mock.patch('functest.utils.openstack_utils.get_credentials',
- return_value={'auth_url': 'test/v1',
- 'project_name': 'test_tenant'})
@mock.patch('snaps.openstack.create_image.OpenStackImage.create')
@mock.patch('os.system')
def test_prepare_default(self, *args):