diff options
author | Jason Madden <jamadden@gmail.com> | 2017-09-04 08:00:30 -0500 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2017-09-04 08:00:30 -0500 |
commit | 5c69a15df699dfa278a60ff6e5eb063acd982979 (patch) | |
tree | 6208f498417d0a402948e0766c366b6b4c0ab84d | |
parent | 67c529190c57b5ff47de51694a21a173223da0de (diff) | |
download | zope-pagetemplate-5c69a15df699dfa278a60ff6e5eb063acd982979.tar.gz |
whitespace [skip ci]
-rw-r--r-- | src/zope/pagetemplate/tests/test_basictemplate.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/zope/pagetemplate/tests/test_basictemplate.py b/src/zope/pagetemplate/tests/test_basictemplate.py index aa275a4..f998f21 100644 --- a/src/zope/pagetemplate/tests/test_basictemplate.py +++ b/src/zope/pagetemplate/tests/test_basictemplate.py @@ -30,7 +30,7 @@ class BasicTemplateTests(unittest.TestCase): def test_if_in_var(self): # DTML test 1: if, in, and var: - # """ + # %(comment)[ blah %(comment)] # <html><head><title>Test of documentation templates</title></head> # <body> @@ -48,7 +48,7 @@ class BasicTemplateTests(unittest.TestCase): # %(else args)] # And thats da trooth. # </body></html> - # """ + tal = util.read_input('dtml1.html') self.t.write(tal) @@ -121,7 +121,7 @@ class BasicTemplateTests(unittest.TestCase): def test_batches_and_formatting(self): # DTML test 3: batches and formatting: - # """ + # <html><head><title>Test of documentation templates</title></head> # <body> # <!--#if args--> @@ -147,7 +147,7 @@ class BasicTemplateTests(unittest.TestCase): # <!--#/if args--> # And I\'m 100% sure! # </body></html> - # """ + tal = util.read_input('dtml3.html') self.t.write(tal) @@ -252,7 +252,6 @@ class BasicTemplateTests(unittest.TestCase): self.assertIn(self.t._error_start, text) self.assertIn("Macro expansion failed", text) - def test_macros(self): self.assertEqual(self.t.macros, {}) |