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 Dec 24, 2018
1 parent e3dfc8f commit 2bb5812
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/cli_config_check/test_case.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import os
from aliyun.log.etl_core.restrict_config_parser import RestrictConfigParser, InvalidETLConfig

base_dir = os.path.dirname(__file__)


def parse_config(config_path):
md_path = os.path.abspath(config_path)
md_path = os.path.sep.join([base_dir, config_path])
if os.path.isfile(md_path):
code = open(md_path, 'r').read()
else:
Expand Down

0 comments on commit 2bb5812

Please sign in to comment.