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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Yoji Takeuchi
erp5
Commits
ef35ef65
Commit
ef35ef65
authored
Jan 02, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! testXHTML: Remove W3Validator
parent
205febc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+1
-3
No files found.
product/ERP5/tests/testXHTML.py
View file @
ef35ef65
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
import
unittest
import
unittest
import
os
import
os
import
urllib
import
requests
import
requests
from
subprocess
import
Popen
,
PIPE
from
subprocess
import
Popen
,
PIPE
...
@@ -37,7 +36,6 @@ from Testing import ZopeTestCase
...
@@ -37,7 +36,6 @@ from Testing import ZopeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.CMFCore.utils
import
getToolByName
from
Products.CMFCore.utils
import
getToolByName
from
zLOG
import
LOG
from
zLOG
import
LOG
from
xml.dom
import
minidom
# You can invoke same tests in your favourite collection of business templates
# You can invoke same tests in your favourite collection of business templates
# by using TestXHTMLMixin like the following :
# by using TestXHTMLMixin like the following :
#
#
...
@@ -777,7 +775,7 @@ def addTestMethodDynamically(test_class, validator, target_business_templates):
...
@@ -777,7 +775,7 @@ def addTestMethodDynamically(test_class, validator, target_business_templates):
tested_portal_type_list
=
tested_portal_type_list
)
tested_portal_type_list
=
tested_portal_type_list
)
# Two validators are available : nu and tidy
validator
# Two validators are available : nu and tidy
# It's hightly recommanded to use the nu validator which validates html5
# It's hightly recommanded to use the nu validator which validates html5
validator_to_use
=
'nu'
validator_to_use
=
'nu'
show_warnings
=
True
show_warnings
=
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