Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
ccd7b3f0
Commit
ccd7b3f0
authored
Apr 17, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configurator_standard_ui_test: include a step checking there was no error
parent
bff8777e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_assertEndConfiguration.py
...igurator_standard_ui_test/Zuite_assertEndConfiguration.py
+8
-2
No files found.
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_assertEndConfiguration.py
View file @
ccd7b3f0
...
@@ -5,8 +5,14 @@ message_list = ["Configuration is over. Enjoy your new ERP5 system!",
...
@@ -5,8 +5,14 @@ message_list = ["Configuration is over. Enjoy your new ERP5 system!",
"You will be redirected to a form in which you can login using"
,
"You will be redirected to a form in which you can login using"
,
"one of yours newly created ERP5 user accounts."
]
"one of yours newly created ERP5 user accounts."
]
portal
.
REQUEST
.
RESPONSE
.
setHeader
(
'content-type'
,
'text/plain'
)
for
message
in
message_list
:
for
message
in
message_list
:
if
not
message
in
html_status_report
:
if
not
message
in
html_status_report
:
return
'False'
print
"Error: {message} not found in status report"
.
format
(
message
=
message
)
for
log
in
portal
.
error_log
.
getLogEntries
():
print
"Error: {type} {value} {tb_text}"
.
format
(
**
log
)
if
str
(
printed
):
return
printed
return
'True'
return
'True'
\ No newline at end of file
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