Skip to content

Commit

Permalink
fix ci path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Nov 22, 2017
1 parent 85d576a commit 25329ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def process_token(txt):


def run_test(cmd_file):
cli = sys.executable + ' "' + os.path.abspath('../aliyunlogcli/cli.py') + '"'
cli_path = os.path.sep.join([os.path.dirname(__file__), '../aliyunlogcli/cli.py'])
cli = sys.executable + ' "' + cli_path + '"'
cmd_list = process_token(open(cmd_file).read()).split('\n')
cmd_dict = OrderedDict()
pre_cmd = ''
Expand Down

0 comments on commit 25329ed

Please sign in to comment.