Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
willdesk_apiauto
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
29
Issues
29
List
Boards
Labels
Service Desk
Milestones
Merge Requests
29
Merge Requests
29
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
桦生 詹
willdesk_apiauto
Commits
de2b83d1
Commit
de2b83d1
authored
May 28, 2024
by
zhanhuasheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清除数据
parent
f3ed2bb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
TestFile/setting/emailIntegration/emailIntegration_delete.py
TestFile/setting/emailIntegration/emailIntegration_delete.py
+5
-0
YamlCase/setting/emailIntegration.yaml
YamlCase/setting/emailIntegration.yaml
+1
-0
No files found.
TestFile/setting/emailIntegration/emailIntegration_delete.py
0 → 100644
View file @
de2b83d1
from
Utils.sql_handler
import
test_env_conn
from
TestData.setting.email_integration_test_data
import
emailIntegrationData
email_delete_sql
=
f
'delete from `email_config` where brand_id =
{
emailIntegrationData
.
brandId
}
and email like "autotest%"'
email_delete_result
=
test_env_conn
.
execute_sql
(
sql
=
email_delete_sql
)
YamlCase/setting/emailIntegration.yaml
View file @
de2b83d1
...
@@ -62,6 +62,7 @@ api7:
...
@@ -62,6 +62,7 @@ api7:
url
:
/api/v1/email/listEmailConfig
url
:
/api/v1/email/listEmailConfig
method
:
post
method
:
post
data
:
{
"
v"
:
"
${v}"
}
data
:
{
"
v"
:
"
${v}"
}
after_sql
:
/setting/emailIntegration/emailIntegration_delete.py
expected
:
expected
:
-
eq
:
{
"
$.code"
:
0
}
-
eq
:
{
"
$.code"
:
0
}
-
not_in_list
:
{
"
$.data.list[*].id"
:
"
${append_email_id}"
}
-
not_in_list
:
{
"
$.data.list[*].id"
:
"
${append_email_id}"
}
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