aboutsummaryrefslogtreecommitdiffstats
path: root/functest/cli
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2017-07-07 14:19:39 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2017-07-12 11:05:25 +0200
commit3bb72f47f704f25d957d8f00b82360fe8b6b2f7a (patch)
tree0050246af7d2d727fd7ea568b62fb59e0e554de0 /functest/cli
parent5b6b314d4c36dbe6e8da4e7d2d2813356397ef77 (diff)
Switch to check_deployment instead of check_os.sh
Change-Id: Idcc67643f813068c3cd06f4c0dfd3289bb7df138 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'functest/cli')
-rw-r--r--functest/cli/commands/cli_os.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/functest/cli/commands/cli_os.py b/functest/cli/commands/cli_os.py
index 44181d4f0..f4ec16615 100644
--- a/functest/cli/commands/cli_os.py
+++ b/functest/cli/commands/cli_os.py
@@ -12,8 +12,8 @@ import os
import click
+from functest.ci import check_deployment
from functest.utils.constants import CONST
-import functest.utils.functest_utils as ft_utils
import functest.utils.openstack_clean as os_clean
import functest.utils.openstack_snapshot as os_snapshot
@@ -49,7 +49,8 @@ class CliOpenStack(object):
def check(self):
self.ping_endpoint()
- ft_utils.execute_command("check_os.sh", verbose=False)
+ deployment = check_deployment.CheckDeployment()
+ deployment.check_all()
def snapshot_create(self):
self.ping_endpoint()