aboutsummaryrefslogtreecommitdiffstats
path: root/functest/cli/commands
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-06-30 09:13:17 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-06-30 14:33:03 +0200
commit1b838b4bd75f21e45e8a40407b1e3279dd5935d2 (patch)
tree86046239cf5057b987d9b76ab70c14df60a60888 /functest/cli/commands
parent678609610f4ccbcb19438cbce5d84bd376010596 (diff)
Define download_images.sh and check_os.sh as scripts
It also updates all python scripts which call check_os.sh. The former healthcheck.sh is removed. No shell script must be executable in git. Change-Id: If4e8deb50ebd635a9091e3bb79ef61c07b9660dc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/cli/commands')
-rw-r--r--functest/cli/commands/cli_os.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/functest/cli/commands/cli_os.py b/functest/cli/commands/cli_os.py
index 875529f2..44181d4f 100644
--- a/functest/cli/commands/cli_os.py
+++ b/functest/cli/commands/cli_os.py
@@ -9,7 +9,6 @@
import os
-import pkg_resources
import click
@@ -50,8 +49,7 @@ class CliOpenStack(object):
def check(self):
self.ping_endpoint()
- ft_utils.execute_command("sh %s" % pkg_resources.resource_filename(
- 'functest', 'ci/check_os.sh'), verbose=False)
+ ft_utils.execute_command("check_os.sh", verbose=False)
def snapshot_create(self):
self.ping_endpoint()