summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinux_geek <taseer94@gmail.com>2016-11-21 21:36:58 +0500
committerlinux_geek <taseer94@gmail.com>2016-11-21 21:36:58 +0500
commit6874d81ab2a66b053a74749d5213cdb19ae149e4 (patch)
tree64019b8defea76d51d69b8ad8611ab7f1758762c
parent3fe85ce6a6a19e5906e325370e6e6db16ec9d41e (diff)
Cli list related fixes
JIRA: QTIP-154 Change-Id: I95ab04fab35ff599c338ce07870602b58635e833 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
-rw-r--r--qtip/cli/commands/cmd_perftest.py2
-rw-r--r--qtip/cli/commands/cmd_suite.py3
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"])