Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lwjTest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
王萌
lwjTest
Commits
9ec68541
Commit
9ec68541
authored
Jun 14, 2022
by
wangmeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tijiao
parent
4a947b59
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
apps/report/urls.py
apps/report/urls.py
+1
-1
lwjTest/settings.py
lwjTest/settings.py
+1
-1
utils/testGenerateManySuite.py
utils/testGenerateManySuite.py
+1
-1
utils/testManySuite.py
utils/testManySuite.py
+1
-1
utils/testSingleSuite.py
utils/testSingleSuite.py
+1
-1
No files found.
apps/report/urls.py
View file @
9ec68541
...
...
@@ -12,7 +12,7 @@ rouer.register('email',views.EmailViewSet)
urlpatterns
=
[
#报告列表
re_path
(
'list/'
,
views
.
ReportVIew
.
as_view
()),
path
(
'
<int:
id>'
,
views
.
ReportVIew
.
as_view
()),
path
(
'
/list/<
id>'
,
views
.
ReportVIew
.
as_view
()),
path
(
'send/meail/<name>'
,
views
.
mailReport
),
#报告详情
path
(
'<name>'
,
views
.
reportDetails
),
...
...
lwjTest/settings.py
View file @
9ec68541
...
...
@@ -232,7 +232,7 @@ EMAIL_FROM = 'xiao_whb@163.com'
AES_KEY
=
"fusion"
#服务器地址(用于测试报告)
HOST
=
"http://
autotest-dev.liweijia.com
"
HOST
=
"http://
116.211.118.66:30309
"
# 跨域问题
CORS_ORIGIN_ALLOW_ALL
=
True
...
...
utils/testGenerateManySuite.py
View file @
9ec68541
...
...
@@ -47,7 +47,7 @@ def get_discover():
"case_fail"
:
result
.
failure_count
,
"start_time"
:
str
(
times
),
"run_time"
:
result
.
fields
[
'totalTime'
],
"report_details"
:
HOST
+
"/report/fusion_
http_
report-{}.html"
.
format
(
report_time
)
"report_details"
:
HOST
+
"/report/fusion_report-{}.html"
.
format
(
report_time
)
}
with
open
(
yamlpath
,
'w'
,
encoding
=
'utf-8'
)
as
f
:
yaml
.
dump
(
data
,
f
,
Dumper
=
yaml
.
RoundTripDumper
,
allow_unicode
=
True
)
...
...
utils/testManySuite.py
View file @
9ec68541
...
...
@@ -44,7 +44,7 @@ def get_discover():
"case_fail"
:
result
.
failure_count
,
"start_time"
:
str
(
times
),
"run_time"
:
result
.
fields
[
'totalTime'
],
"report_details"
:
HOST
+
"/report/fusion_
http_
report-{}.html"
.
format
(
report_time
)
"report_details"
:
HOST
+
"/report/fusion_report-{}.html"
.
format
(
report_time
)
}
with
open
(
yamlpath
,
'w'
,
encoding
=
'utf-8'
)
as
f
:
yaml
.
dump
(
data
,
f
,
Dumper
=
yaml
.
RoundTripDumper
,
allow_unicode
=
True
)
...
...
utils/testSingleSuite.py
View file @
9ec68541
...
...
@@ -44,7 +44,7 @@ def get_discover():
# "start_time":result.begin_times,
"start_time"
:
str
(
times
),
"run_time"
:
result
.
fields
[
'totalTime'
],
"report_details"
:
HOST
+
"/report/fusion_
http_
report-{}.html"
.
format
(
report_time
)
"report_details"
:
HOST
+
"/report/fusion_report-{}.html"
.
format
(
report_time
)
}
with
open
(
yamlpath
,
'w'
,
encoding
=
'utf-8'
)
as
f
:
yaml
.
dump
(
data
,
f
,
Dumper
=
yaml
.
RoundTripDumper
,
allow_unicode
=
True
)
...
...
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