Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
1b01e448
Commit
1b01e448
authored
Apr 21, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: The expected_message is not show at the form anymore.
This message was old and it was removed.
parent
bb3d4554
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py
...tal_components/test.erp5.testSlapOSERP5DefaultScenario.py
+5
-4
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.xml
...al_components/test.erp5.testSlapOSERP5DefaultScenario.xml
+4
-1
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py
View file @
1b01e448
...
...
@@ -37,8 +37,9 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
credential_request_form
=
self
.
web_site
.
ERP5Site_viewCredentialRequestForm
()
self
.
assertTrue
(
'Vifib Cloud is a distributed cloud around the'
in
credential_request_form
)
#expected_message = 'Vifib Cloud is a distributed cloud around the'
#self.assertTrue(expected_message in credential_request_form,
# '%s not in %s' % (expected_message, credential_request_form))
email
=
'%s@example.com'
%
reference
...
...
@@ -857,8 +858,8 @@ class TestSlapOSDefaultCRMEscalation(TestSlapOSSecurityMixin):
credential_request_form
=
self
.
web_site
.
ERP5Site_viewCredentialRequestForm
()
self
.
assertTrue
(
'Vifib Cloud is a distributed cloud around the'
in
credential_request_form
)
#
self.assertTrue('Vifib Cloud is a distributed cloud around the'
#
in credential_request_form)
email
=
'%s@example.com'
%
reference
...
...
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.xml
View file @
1b01e448
...
...
@@ -45,7 +45,10 @@
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
<tuple>
<string>
W: 38, 4: Unused variable \'credential_request_form\' (unused-variable)
</string>
<string>
W:859, 4: Unused variable \'credential_request_form\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
...
...
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