Merge "Bugfix: fix two typos"
authorvalentin boucher <valentin.boucher@orange.com>
Tue, 23 May 2017 14:51:17 +0000 (14:51 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 23 May 2017 14:51:17 +0000 (14:51 +0000)
docs/testing/user/configguide/configguide.rst
functest/cli/commands/cli_os.py
functest/tests/unit/cli/commands/test_cli_os.py

index 9a17497..12dfd10 100644 (file)
@@ -74,7 +74,7 @@ executing the following sequence
   #. Log in to container and execute the following command. Replace
      the IP with installer address after the "-a" parameter::
 
-       $REPOS_DIR/releng/utils/fetch_os_creds.sh \
+       fetch_os_creds.sh \
        -d /home/opnfv/functest/conf/openstack.creds \
        -i fuel \
        -a 10.20.0.2 \
index e54eb42..5e6e110 100644 (file)
@@ -67,9 +67,8 @@ class CliOpenStack(object):
         if installer_ip is None:
             click.echo("The environment variable 'INSTALLER_IP' is not"
                        "defined. Please export it")
-        cmd = ("%s/releng/utils/fetch_os_creds.sh -d %s -i %s -a %s"
-               % (CONST.__getattribute__('dir_repos'),
-                  self.openstack_creds,
+        cmd = ("fetch_os_creds.sh -d %s -i %s -a %s"
+               % (self.openstack_creds,
                   installer_type,
                   installer_ip))
         click.echo("Fetching credentials from installer node '%s' with IP=%s.."
index 7ab4ddc..b551ee4 100644 (file)
@@ -70,9 +70,8 @@ class CliOpenStackTesting(unittest.TestCase):
                                        mock_ftutils_execute):
         CONST.__setattr__('INSTALLER_TYPE', self.installer_type)
         CONST.__setattr__('INSTALLER_IP', self.installer_ip)
-        cmd = ("%s/releng/utils/fetch_os_creds.sh -d %s -i %s -a %s"
-               % (CONST.__getattribute__('dir_repos'),
-                  self.openstack_creds,
+        cmd = ("fetch_os_creds.sh -d %s -i %s -a %s"
+               % (self.openstack_creds,
                   self.installer_type,
                   self.installer_ip))
         self.cli_os.openstack_creds = self.openstack_creds
@@ -93,9 +92,8 @@ class CliOpenStackTesting(unittest.TestCase):
                                                       mock_ftutils_execute):
         CONST.__setattr__('INSTALLER_TYPE', None)
         CONST.__setattr__('INSTALLER_IP', self.installer_ip)
-        cmd = ("%s/releng/utils/fetch_os_creds.sh -d %s -i %s -a %s"
-               % (CONST.__getattribute__('dir_repos'),
-                  self.openstack_creds,
+        cmd = ("fetch_os_creds.sh -d %s -i %s -a %s"
+               % (self.openstack_creds,
                   None,
                   self.installer_ip))
         self.cli_os.openstack_creds = self.openstack_creds
@@ -121,9 +119,8 @@ class CliOpenStackTesting(unittest.TestCase):
         installer_ip = None
         CONST.__setattr__('INSTALLER_TYPE', installer_type)
         CONST.__setattr__('INSTALLER_IP', installer_ip)
-        cmd = ("%s/releng/utils/fetch_os_creds.sh -d %s -i %s -a %s"
-               % (CONST.__getattribute__('dir_repos'),
-                  self.openstack_creds,
+        cmd = ("fetch_os_creds.sh -d %s -i %s -a %s"
+               % (self.openstack_creds,
                   installer_type,
                   installer_ip))
         self.cli_os.openstack_creds = self.openstack_creds