From 6874d81ab2a66b053a74749d5213cdb19ae149e4 Mon Sep 17 00:00:00 2001 From: linux_geek Date: Mon, 21 Nov 2016 21:36:58 +0500 Subject: Cli list related fixes JIRA: QTIP-154 Change-Id: I95ab04fab35ff599c338ce07870602b58635e833 Signed-off-by: Taseer Ahmed --- qtip/cli/commands/cmd_perftest.py | 2 +- qtip/cli/commands/cmd_suite.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qtip/cli/commands/cmd_perftest.py b/qtip/cli/commands/cmd_perftest.py index 0eb6d062..5cfe4110 100644 --- a/qtip/cli/commands/cmd_perftest.py +++ b/qtip/cli/commands/cmd_perftest.py @@ -11,7 +11,7 @@ from prettytable import PrettyTable import yaml import click import os -from cli import helper +from qtip.cli import helper class PerfTest: diff --git a/qtip/cli/commands/cmd_suite.py b/qtip/cli/commands/cmd_suite.py index 757f11a1..f6c839ba 100644 --- a/qtip/cli/commands/cmd_suite.py +++ b/qtip/cli/commands/cmd_suite.py @@ -10,12 +10,13 @@ from prettytable import PrettyTable import os import click +from qtip.cli import helper class Suite: def __init__(self): - self.path = os.path.join(os.path.dirname(__file__), '..', '..', 'benchmarks/suite') + self.path = os.path.join(helper.fetch_root(), 'suite') def list(self): table = PrettyTable(["Name"]) -- cgit 1.2.3-korg