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
1
Merge Requests
1
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
Boxiang Sun
erp5
Commits
417ff1ae
Commit
417ff1ae
authored
Mar 30, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testXHTML: use the nu validator by default
parent
67eb5953
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+3
-4
No files found.
product/ERP5/tests/testXHTML.py
View file @
417ff1ae
...
@@ -813,10 +813,9 @@ def addTestMethodDynamically(test_class, validator, target_business_templates):
...
@@ -813,10 +813,9 @@ 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 : tidy and the w3c validator
# Three validators are available : nu, tidy and the w3c validator
# It's hightly recommanded to use the w3c validator because tidy dont show
# It's hightly recommanded to use the nu validator which validates html5
# all errors and show more warnings that there is.
validator_to_use
=
'nu'
validator_to_use
=
'w3c'
show_warnings
=
True
show_warnings
=
True
validator
=
None
validator
=
None
...
...
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