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
6e0618fe
authored
Jan 16, 2019
by
zhangjingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加邮件收件人
parent
b93fd28d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
.idea/workspace.xml
+5
-6
碧合app/execute_automation_scripts.py
+8
-2
No files found.
.idea/workspace.xml
View file @
6e0618fe
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<project
version=
"4"
>
<project
version=
"4"
>
<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$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
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/execute_automation_scripts.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/碧合app/execute_automation_scripts.py"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
@@ -14,7 +13,7 @@
...
@@ -14,7 +13,7 @@
</component>
</component>
<component
name=
"CoverageDataManager"
>
<component
name=
"CoverageDataManager"
>
<SUITE
FILE_PATH=
"coverage/bihe_interface_test$hebin.coverage"
NAME=
"hebin Coverage Results"
MODIFIED=
"1547019882690"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/碧合app"
/>
<SUITE
FILE_PATH=
"coverage/bihe_interface_test$hebin.coverage"
NAME=
"hebin Coverage Results"
MODIFIED=
"1547019882690"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/碧合app"
/>
<SUITE
FILE_PATH=
"coverage/bihe_interface_test$execute_automation_scripts.coverage"
NAME=
"execute_automation_scripts Coverage Results"
MODIFIED=
"15476
0283029
2"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/碧合app"
/>
<SUITE
FILE_PATH=
"coverage/bihe_interface_test$execute_automation_scripts.coverage"
NAME=
"execute_automation_scripts Coverage Results"
MODIFIED=
"15476
2695924
2"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/碧合app"
/>
</component>
</component>
<component
name=
"FavoritesManager"
>
<component
name=
"FavoritesManager"
>
<favorites_list
name=
"bihe_interface_test"
/>
<favorites_list
name=
"bihe_interface_test"
/>
...
@@ -24,8 +23,8 @@
...
@@ -24,8 +23,8 @@
<file
leaf-file-name=
"execute_automation_scripts.py"
pinned=
"false"
current-in-tab=
"true"
>
<file
leaf-file-name=
"execute_automation_scripts.py"
pinned=
"false"
current-in-tab=
"true"
>
<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=
"
244
"
>
<state
relative-caret-position=
"
715
"
>
<caret
line=
"
63"
column=
"23"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"23"
selection-end-line=
"64"
selection-end-column=
"25
"
/>
<caret
line=
"
82"
column=
"22"
lean-forward=
"true"
selection-start-line=
"82"
selection-start-column=
"22"
selection-end-line=
"82"
selection-end-column=
"22
"
/>
<folding>
<folding>
<element
signature=
"e#26#37#0"
expanded=
"true"
/>
<element
signature=
"e#26#37#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -581,8 +580,8 @@
...
@@ -581,8 +580,8 @@
</entry>
</entry>
<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=
"
244
"
>
<state
relative-caret-position=
"
715
"
>
<caret
line=
"
63"
column=
"23"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"23"
selection-end-line=
"64"
selection-end-column=
"25
"
/>
<caret
line=
"
82"
column=
"22"
lean-forward=
"true"
selection-start-line=
"82"
selection-start-column=
"22"
selection-end-line=
"82"
selection-end-column=
"22
"
/>
<folding>
<folding>
<element
signature=
"e#26#37#0"
expanded=
"true"
/>
<element
signature=
"e#26#37#0"
expanded=
"true"
/>
</folding>
</folding>
...
...
碧合app/execute_automation_scripts.py
View file @
6e0618fe
# -*-
coding: utf-8 -*-
# -*-
coding: utf-8 -*-
...
@@ -39,7 +39,13 @@ class PostmanApi():
...
@@ -39,7 +39,13 @@ class PostmanApi():
mail_pass
=
"Xqw123123"
# 口令
mail_pass
=
"Xqw123123"
# 口令
sender
=
'zhangjingdong@maxrocky.com'
sender
=
'zhangjingdong@maxrocky.com'
# 接收邮件
# 接收邮件
receivers
=
[
'zhangjingdong@maxrocky.com'
receivers
=
[
'zhangjingdong@maxrocky.com'
,
'yangwanbo@maxrocky.com'
,
'zhuangqincai@maxrocky.com'
,
'menglinghong@maxrocky.com'
,
'eric@maxrocky.com'
,
'guoningfan@maxrocky.com'
,
'huangxitao@countrygarden.com.cn'
]
]
message
=
MIMEText
(
u'各位领导同事:
\n
以下是本次接口自动化测试的执行结果
\n
'
message
=
MIMEText
(
u'各位领导同事:
\n
以下是本次接口自动化测试的执行结果
\n
'
...
...
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