aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-11-22 13:58:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-22 13:58:26 +0000
commit41557608a97798b29defa4118c31cb0fa0075bf6 (patch)
treea17b8fd2744688308c3cb10a901e64ebaa813e09
parentcb466cc23049bfd1f2ebee721e5f1c6841ade9e0 (diff)
parent6874d81ab2a66b053a74749d5213cdb19ae149e4 (diff)
Merge "Cli list related fixes"
-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"])