Commit 2a786f00 by Chris Jerdonek

Removed two now-duplicate test cases.

parent c2a31361
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment