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
3b768ba6
authored
Feb 14, 2019
by
zhangjingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改邮件发送规则
parent
86263e08
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
.DS_Store
+0
-0
.idea/workspace.xml
+12
-12
碧合app/.DS_Store
+0
-0
碧合app/execute_automation_scripts.py
+4
-1
No files found.
.DS_Store
View file @
3b768ba6
No preview for this file type
.idea/workspace.xml
View file @
3b768ba6
...
...
@@ -24,8 +24,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=
"2
44
"
>
<caret
line=
"
69"
column=
"23"
lean-forward=
"true"
selection-start-line=
"69"
selection-start-column=
"23"
selection-end-line=
"69"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"2
38
"
>
<caret
line=
"
112"
column=
"45"
lean-forward=
"true"
selection-start-line=
"112"
selection-start-column=
"45"
selection-end-line=
"112"
selection-end-column=
"45
"
/>
<folding>
<element
signature=
"e#26#37#0"
expanded=
"true"
/>
</folding>
...
...
@@ -51,7 +51,7 @@
<entry
file=
"file://$PROJECT_DIR$/碧合app/默认应用/默认应用_manage.postman_environment.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"15"
column=
"34"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"34"
selection-end-line=
"15"
selection-end-column=
"34"
/>
<caret
line=
"15"
column=
"34"
selection-start-line=
"15"
selection-start-column=
"34"
selection-end-line=
"15"
selection-end-column=
"34"
/>
</state>
</provider>
</entry>
...
...
@@ -59,7 +59,7 @@
<file
leaf-file-name=
"活动.postman_collection.json"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/活动/活动.postman_collection.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
389
"
>
<state
relative-caret-position=
"
882
"
>
<caret
line=
"49"
column=
"21"
lean-forward=
"true"
selection-start-line=
"49"
selection-start-column=
"21"
selection-end-line=
"49"
selection-end-column=
"21"
/>
</state>
</provider>
...
...
@@ -68,7 +68,7 @@
<file
leaf-file-name=
"广场圈子.postman_collection.json"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
381
"
>
<state
relative-caret-position=
"
972
"
>
<caret
line=
"54"
column=
"51"
lean-forward=
"true"
selection-start-line=
"54"
selection-start-column=
"51"
selection-end-line=
"54"
selection-end-column=
"51"
/>
</state>
</provider>
...
...
@@ -165,6 +165,7 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -185,7 +186,6 @@
<select
/>
</subPane>
</pane>
<pane
id=
"Scope"
/>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
...
...
@@ -291,7 +291,7 @@
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"7"
weight=
"0.32969698"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.32969698"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"7"
weight=
"0.32969698"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.5334539"
visible=
"true"
weight=
"0.29
32761
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.5334539"
visible=
"true"
weight=
"0.29
756796
"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"right"
id=
"Database"
order=
"3"
/>
<window_info
anchor=
"right"
id=
"SciView"
order=
"3"
/>
...
...
@@ -546,7 +546,7 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/碧合app/活动/活动.postman_collection.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
389
"
>
<state
relative-caret-position=
"
882
"
>
<caret
line=
"49"
column=
"21"
lean-forward=
"true"
selection-start-line=
"49"
selection-start-column=
"21"
selection-end-line=
"49"
selection-end-column=
"21"
/>
</state>
</provider>
...
...
@@ -564,13 +564,13 @@
<entry
file=
"file://$PROJECT_DIR$/碧合app/默认应用/默认应用_manage.postman_environment.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"15"
column=
"34"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"34"
selection-end-line=
"15"
selection-end-column=
"34"
/>
<caret
line=
"15"
column=
"34"
selection-start-line=
"15"
selection-start-column=
"34"
selection-end-line=
"15"
selection-end-column=
"34"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
381
"
>
<state
relative-caret-position=
"
972
"
>
<caret
line=
"54"
column=
"51"
lean-forward=
"true"
selection-start-line=
"54"
selection-start-column=
"51"
selection-end-line=
"54"
selection-end-column=
"51"
/>
</state>
</provider>
...
...
@@ -584,8 +584,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
44
"
>
<caret
line=
"
69"
column=
"23"
lean-forward=
"true"
selection-start-line=
"69"
selection-start-column=
"23"
selection-end-line=
"69"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"2
38
"
>
<caret
line=
"
112"
column=
"45"
lean-forward=
"true"
selection-start-line=
"112"
selection-start-column=
"45"
selection-end-line=
"112"
selection-end-column=
"45
"
/>
<folding>
<element
signature=
"e#26#37#0"
expanded=
"true"
/>
</folding>
...
...
碧合app/.DS_Store
View file @
3b768ba6
No preview for this file type
碧合app/execute_automation_scripts.py
View file @
3b768ba6
# -*-
coding: utf-8 -*-
# -*-
coding: utf-8 -*-
...
...
@@ -125,7 +125,10 @@ class PostmanApi():
report
=
""
report_text
+=
report
.
join
(
u" 模块:"
+
item
[:
-
5
]
+
u" 数量:"
+
li1
+
u" 失败:"
+
li2
+
"
\n
"
)
report_text1
=
u" 接口数量:"
+
str
(
successful
)
+
u" 失败数量:"
+
str
(
failure
)
if
(
failure
!=
0
):
PostmanApi
()
.
report_mail
(
years
,
report_text1
,
report_text
,
at_the
,
report_file
)
else
:
print
(
"全部成功"
)
return
self
...
...
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