Commit 64432a5f by zhangjingdong

Merge branch 'master' into 'develop'

修改脚本



See merge request !1
parents a2b0b981 9f3fdcf3
......@@ -19,8 +19,8 @@
<file leaf-file-name="execute_automation_scripts.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="350">
<caret line="26" column="56" lean-forward="true" selection-start-line="26" selection-start-column="56" selection-end-line="26" selection-end-column="56" />
<state relative-caret-position="-124">
<caret line="15" column="32" lean-forward="true" selection-start-line="15" selection-start-column="32" selection-end-line="15" selection-end-column="32" />
<folding>
<element signature="e#18#29#0" expanded="true" />
</folding>
......@@ -259,8 +259,8 @@
<entry file="file://$PROJECT_DIR$/碧合app/活动2018-11-28_09:34:00.html" />
<entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="350">
<caret line="26" column="56" lean-forward="true" selection-start-line="26" selection-start-column="56" selection-end-line="26" selection-end-column="56" />
<state relative-caret-position="-124">
<caret line="15" column="32" lean-forward="true" selection-start-line="15" selection-start-column="32" selection-end-line="15" selection-end-column="32" />
<folding>
<element signature="e#18#29#0" expanded="true" />
</folding>
......
# coding = utf-8
# coding = utf-8
......@@ -9,9 +9,7 @@ class PostmanApi:
def post(self):
file = []
report_file = "/phantom/file/testreport"
# 获取当前文件路径
BASE_DIR = os.path.realpath(os.path.dirname(os.path.abspath(__file__)))
# 获取当前路径所有文件
path = os.listdir(BASE_DIR)
# print( path)
for p in path:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment