Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangjingdong
/
bihe_interface_test
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
54918cc7
authored
Jan 11, 2019
by
zhangjingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改脚本文件路径
parent
7087bec7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
30 deletions
+26
-30
.idea/workspace.xml
+23
-27
碧合app/execute_automation_scripts.py
+3
-3
No files found.
.idea/workspace.xml
View file @
54918cc7
...
@@ -3,10 +3,6 @@
...
@@ -3,10 +3,6 @@
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"243b24f3-3df7-4c72-bf73-8de81d5ca458"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"243b24f3-3df7-4c72-bf73-8de81d5ca458"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/专享服务/专享-服务_manage.postman_environment.json"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/体育场预订/-体育场预订_manage.postman_environment.json"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/服务-获取外置小程序接口/服务-获取外置小程序接口(临时)共 (1) 个.postman_collection.json"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/碧合app/软文管理/软文管理.postman_collection.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/碧合app/软文管理/软文管理.postman_collection.json"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
@@ -24,24 +20,24 @@
...
@@ -24,24 +20,24 @@
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"execute_automation_scripts.py"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
leaf-file-name=
"execute_automation_scripts.py"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
2088
"
>
<state
relative-caret-position=
"
183
"
>
<caret
line=
"
116"
column=
"47"
lean-forward=
"true"
selection-start-line=
"116"
selection-start-column=
"47"
selection-end-line=
"116"
selection-end-column=
"47
"
/>
<caret
line=
"
67"
column=
"58"
lean-forward=
"true"
selection-start-line=
"67"
selection-start-column=
"58"
selection-end-line=
"67"
selection-end-column=
"58
"
/>
<folding>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547
199091357
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
<marker
date=
"1547
200494401
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"软文管理.postman_collection.json"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"软文管理.postman_collection.json"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/软文管理/软文管理.postman_collection.json"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/软文管理/软文管理.postman_collection.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
396
"
>
<state
relative-caret-position=
"
432
"
>
<caret
line=
"2
2"
column=
"70"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"70"
selection-end-line=
"22"
selection-end-column=
"70
"
/>
<caret
line=
"2
4"
column=
"8"
lean-forward=
"true"
selection-start-line=
"24"
selection-start-column=
"8"
selection-end-line=
"24"
selection-end-column=
"8
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -140,8 +136,8 @@
...
@@ -140,8 +136,8 @@
<option
value=
"$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json"
/>
<option
value=
"$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json"
/>
<option
value=
"$PROJECT_DIR$/碧合app/hebin.py"
/>
<option
value=
"$PROJECT_DIR$/碧合app/hebin.py"
/>
<option
value=
"$PROJECT_DIR$/碧合app/traverse.py"
/>
<option
value=
"$PROJECT_DIR$/碧合app/traverse.py"
/>
<option
value=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
/>
<option
value=
"$PROJECT_DIR$/碧合app/软文管理/软文管理.postman_collection.json"
/>
<option
value=
"$PROJECT_DIR$/碧合app/软文管理/软文管理.postman_collection.json"
/>
<option
value=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -389,7 +385,7 @@
...
@@ -389,7 +385,7 @@
<caret
line=
"10"
column=
"49"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"49"
selection-end-line=
"10"
selection-end-column=
"49"
/>
<caret
line=
"10"
column=
"49"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"49"
selection-end-line=
"10"
selection-end-column=
"49"
/>
<folding>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547
199091357
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
<marker
date=
"1547
200494401
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -442,7 +438,7 @@
...
@@ -442,7 +438,7 @@
<caret
line=
"11"
column=
"49"
lean-forward=
"true"
selection-start-line=
"11"
selection-start-column=
"49"
selection-end-line=
"11"
selection-end-column=
"49"
/>
<caret
line=
"11"
column=
"49"
lean-forward=
"true"
selection-start-line=
"11"
selection-start-column=
"49"
selection-end-line=
"11"
selection-end-column=
"49"
/>
<folding>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547
199091357
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
<marker
date=
"1547
200494401
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -459,7 +455,7 @@
...
@@ -459,7 +455,7 @@
<caret
line=
"15"
column=
"32"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"32"
selection-end-line=
"15"
selection-end-column=
"32"
/>
<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>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547
199091357
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
<marker
date=
"1547
200494401
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -477,7 +473,7 @@
...
@@ -477,7 +473,7 @@
<caret
line=
"14"
column=
"25"
selection-start-line=
"14"
selection-start-column=
"25"
selection-end-line=
"14"
selection-end-column=
"25"
/>
<caret
line=
"14"
column=
"25"
selection-start-line=
"14"
selection-start-column=
"25"
selection-end-line=
"14"
selection-end-column=
"25"
/>
<folding>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547
199091357
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
<marker
date=
"1547
200494401
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -500,7 +496,7 @@
...
@@ -500,7 +496,7 @@
<caret
line=
"8"
column=
"8"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"8"
selection-end-line=
"8"
selection-end-column=
"8"
/>
<caret
line=
"8"
column=
"8"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"8"
selection-end-line=
"8"
selection-end-column=
"8"
/>
<folding>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547
199091357
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
<marker
date=
"1547
200494401
"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -597,21 +593,21 @@
...
@@ -597,21 +593,21 @@
<entry
file=
"file://$PROJECT_DIR$/.gitignore"
>
<entry
file=
"file://$PROJECT_DIR$/.gitignore"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/碧合app/
execute_automation_scripts.py
"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/
软文管理/软文管理.postman_collection.json
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2088"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"116"
column=
"47"
lean-forward=
"true"
selection-start-line=
"116"
selection-start-column=
"47"
selection-end-line=
"116"
selection-end-column=
"47"
/>
<caret
line=
"24"
column=
"8"
lean-forward=
"true"
selection-start-line=
"24"
selection-start-column=
"8"
selection-end-line=
"24"
selection-end-column=
"8"
/>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547199091357"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/碧合app/
软文管理/软文管理.postman_collection.json
"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/
execute_automation_scripts.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"396"
>
<state
relative-caret-position=
"183"
>
<caret
line=
"22"
column=
"70"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"70"
selection-end-line=
"22"
selection-end-column=
"70"
/>
<caret
line=
"67"
column=
"58"
lean-forward=
"true"
selection-start-line=
"67"
selection-start-column=
"58"
selection-end-line=
"67"
selection-end-column=
"58"
/>
<folding>
<element
signature=
"e#19#30#0"
expanded=
"true"
/>
<marker
date=
"1547200494401"
expanded=
"true"
signature=
"2718:3692"
ph=
"..."
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
碧合app/execute_automation_scripts.py
View file @
54918cc7
# cod
ing = utf-8
# cod
ing = utf-8
...
@@ -63,8 +63,8 @@ class PostmanApi():
...
@@ -63,8 +63,8 @@ class PostmanApi():
file
=
[]
file
=
[]
report_text
=
""
report_text
=
""
report_text1
=
""
report_text1
=
""
#
report_file = "/phantom/file/testreport/"
report_file
=
"/phantom/file/testreport/"
report_file
=
"/Users/lucas/Documents/reporter/"
#
report_file = "/Users/lucas/Documents/reporter/"
BASE_DIR
=
os
.
path
.
realpath
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
BASE_DIR
=
os
.
path
.
realpath
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
path
=
os
.
listdir
(
BASE_DIR
)
path
=
os
.
listdir
(
BASE_DIR
)
at_the
=
time
.
strftime
(
"
%
H:
%
M"
,
time
.
localtime
(
time
.
time
()))
at_the
=
time
.
strftime
(
"
%
H:
%
M"
,
time
.
localtime
(
time
.
time
()))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment