Commit 4566de69 authored by 章 登恒's avatar 章 登恒
Browse files

commit

parent 1f26580c
...@@ -8,7 +8,6 @@ import os ...@@ -8,7 +8,6 @@ import os
import sys import sys
cur_path = os.path.abspath(os.path.dirname(__file__))# 获取当前文件的目录 cur_path = os.path.abspath(os.path.dirname(__file__))# 获取当前文件的目录
proj_path = cur_path[:cur_path.find('testcase')]# 获取根目录 proj_path = cur_path[:cur_path.find('testcase')]# 获取根目录
print(proj_path)
sys.path.append(proj_path) sys.path.append(proj_path)
# from airtest.core.api import * # from airtest.core.api import *
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment