Cli list related fixes 31/24631/1
authorlinux_geek <taseer94@gmail.com>
Mon, 21 Nov 2016 16:36:58 +0000 (21:36 +0500)
committerlinux_geek <taseer94@gmail.com>
Mon, 21 Nov 2016 16:36:58 +0000 (21:36 +0500)
JIRA: QTIP-154

Change-Id: I95ab04fab35ff599c338ce07870602b58635e833
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
qtip/cli/commands/cmd_perftest.py
qtip/cli/commands/cmd_suite.py

index 0eb6d06..5cfe411 100644 (file)
@@ -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:
index 757f11a..f6c839b 100644 (file)
 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"])