Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pystache_custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pystache_custom
Commits
2a786f00
Commit
2a786f00
authored
Mar 24, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed two now-duplicate test cases.
parent
c2a31361
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
23 deletions
+0
-23
tests/test_custom_template.py
+0
-23
No files found.
tests/test_custom_template.py
View file @
2a786f00
...
...
@@ -341,29 +341,6 @@ class CustomizedTemplateTests(unittest.TestCase):
self
.
_assert_get_template
(
view
,
u"ascii: abc"
)
def
test_get_template__template
(
self
):
"""
Test get_template(): template attribute.
"""
view
=
SampleView
()
view
.
template
=
'foo'
self
.
_assert_get_template
(
view
,
'foo'
)
def
test_get_template__template__template_encoding
(
self
):
"""
Test get_template(): template attribute with template encoding attribute.
"""
view
=
SampleView
()
view
.
template
=
u'é'
.
encode
(
'utf-8'
)
self
.
assertRaises
(
UnicodeDecodeError
,
self
.
_assert_get_template
,
view
,
'foo'
)
view
.
template_encoding
=
'utf-8'
self
.
_assert_get_template
(
view
,
u'é'
)
def
test_get_template__template_encoding
(
self
):
"""
Test get_template(): template_encoding attribute.
...
...
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