diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-01-29 13:46:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-29 13:46:57 +0000 |
commit | 1bdcc57b5ccdc97486c9a9a9363f3195c1904cfe (patch) | |
tree | a42886da19d3de2d7ca9ec539ecc2797db80ac24 | |
parent | 0f31a0dca579840145a3bcbbfff070ae4ae95115 (diff) | |
parent | b1841c9434e08f0467d4226cbeb238d6c677adbc (diff) |
Merge "Enable epc unit tests"
-rw-r--r-- | functest/opnfv_tests/vnf/epc/juju_epc.py | 5 | ||||
-rw-r--r-- | functest/tests/unit/vnf/epc/__init__.py | 0 | ||||
-rw-r--r-- | functest/tests/unit/vnf/epc/test_juju_epc.py | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index 3146b935c..aec008532 100644 --- a/functest/opnfv_tests/vnf/epc/juju_epc.py +++ b/functest/opnfv_tests/vnf/epc/juju_epc.py @@ -145,8 +145,9 @@ class JujuEpc(vnf.VnfOnBoarding): write_config(self.filename, CLOUD_TEMPLATE, **cloud_data) if self.snaps_creds.identity_api_version == 3: - append_config(self.filename, '{}'.format( - os_utils.get_credentials()['project_domain_name']), + append_config( + self.filename, '{}'.format( + os_utils.get_credentials()['project_domain_name']), '{}'.format(os_utils.get_credentials()['user_domain_name'])) self.__logger.info("Upload some OS images if it doesn't exist") diff --git a/functest/tests/unit/vnf/epc/__init__.py b/functest/tests/unit/vnf/epc/__init__.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/functest/tests/unit/vnf/epc/__init__.py diff --git a/functest/tests/unit/vnf/epc/test_juju_epc.py b/functest/tests/unit/vnf/epc/test_juju_epc.py index d1e115e70..b3eef8622 100644 --- a/functest/tests/unit/vnf/epc/test_juju_epc.py +++ b/functest/tests/unit/vnf/epc/test_juju_epc.py @@ -69,6 +69,7 @@ class JujuEpcTesting(unittest.TestCase): 'vnf': {}, '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', |