diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-01-30 19:11:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-30 19:11:27 +0000 |
commit | 8296b68bbb2e6da34676af2c1e81e264c626296c (patch) | |
tree | 328f928cedd788ae9ea86b698f1edd9a87586b1e /functest/opnfv_tests/vnf | |
parent | 03c3f4c2bd1635383cb64168b52e4d8540056942 (diff) | |
parent | 3b36c06f9223322e23e3885759355593b3c598a3 (diff) |
Merge "Remove duplicated code related to snaps creds"
Diffstat (limited to 'functest/opnfv_tests/vnf')
-rw-r--r-- | functest/opnfv_tests/vnf/epc/juju_epc.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index aec00853..14329329 100644 --- a/functest/opnfv_tests/vnf/epc/juju_epc.py +++ b/functest/opnfv_tests/vnf/epc/juju_epc.py @@ -29,7 +29,6 @@ from snaps.openstack.create_network import (NetworkSettings, from snaps.openstack.create_router import (RouterSettings, OpenStackRouter) from snaps.openstack.create_flavor import (FlavorSettings, OpenStackFlavor) from snaps.openstack.create_image import (ImageSettings, OpenStackImage) -from snaps.openstack.tests import openstack_tests from snaps.openstack.utils import keystone_utils import yaml @@ -66,9 +65,7 @@ class JujuEpc(vnf.VnfOnBoarding): self.created_object = [] self.snaps_creds = '' - self.os_creds = openstack_tests.get_credentials( - os_env_file=CONST.__getattribute__('openstack_creds')) - + self.os_creds = snaps_utils.get_credentials() self.details['orchestrator'] = dict( name=get_config("orchestrator.name", config_file), version=get_config("orchestrator.version", config_file), |