Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
b8f178c3
Commit
b8f178c3
authored
Jan 08, 2007
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give test a better name
parent
10726089
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
lib/python/Products/PageTemplates/tests/input/BooleanAttributesAndDefault.html
...ageTemplates/tests/input/BooleanAttributesAndDefault.html
+0
-0
lib/python/Products/PageTemplates/tests/output/BooleanAttributesAndDefault.html
...geTemplates/tests/output/BooleanAttributesAndDefault.html
+0
-0
lib/python/Products/PageTemplates/tests/testHTMLTests.py
lib/python/Products/PageTemplates/tests/testHTMLTests.py
+5
-2
No files found.
lib/python/Products/PageTemplates/tests/input/
Attributes
.html
→
lib/python/Products/PageTemplates/tests/input/
BooleanAttributesAndDefault
.html
View file @
b8f178c3
File moved
lib/python/Products/PageTemplates/tests/output/
Attributes
.html
→
lib/python/Products/PageTemplates/tests/output/
BooleanAttributesAndDefault
.html
View file @
b8f178c3
File moved
lib/python/Products/PageTemplates/tests/testHTMLTests.py
View file @
b8f178c3
...
...
@@ -156,8 +156,11 @@ class HTMLTests(unittest.TestCase):
self
.
assert_expected
(
self
.
folder
.
t
,
'CheckI18nTranslateHooked.html'
)
setGlobalTranslationService
(
old_ts
)
def
checkAttributes
(
self
):
self
.
assert_expected
(
self
.
folder
.
t
,
'Attributes.html'
)
def
checkBooleanAttributesAndDefault
(
self
):
# Zope 2.9 and below support the semantics that an HTML
# "boolean" attribute (e.g. 'selected', 'disabled', etc.) can
# be used together with 'default'.
self
.
assert_expected
(
self
.
folder
.
t
,
'BooleanAttributesAndDefault.html'
)
def
test_suite
():
return
unittest
.
makeSuite
(
HTMLTests
,
'check'
)
...
...
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