summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/tests/test_templates.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-03-17 16:33:35 -0400
committerBarry Warsaw2011-03-17 16:33:35 -0400
commit4a8a833f14d93a9916e5b2181fdfff24ffd57477 (patch)
tree6cdb98233fecee5e351bc2e593ab6cc7e145205c /src/mailman/utilities/tests/test_templates.py
parent7c1ac388926288a3b098705e3aadee333128ae51 (diff)
downloadmailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.tar.gz
mailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.tar.zst
mailman-4a8a833f14d93a9916e5b2181fdfff24ffd57477.zip
Diffstat (limited to 'src/mailman/utilities/tests/test_templates.py')
-rw-r--r--src/mailman/utilities/tests/test_templates.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mailman/utilities/tests/test_templates.py b/src/mailman/utilities/tests/test_templates.py
index 2de43ae3c..e21b44544 100644
--- a/src/mailman/utilities/tests/test_templates.py
+++ b/src/mailman/utilities/tests/test_templates.py
@@ -258,17 +258,15 @@ It will not be wrapped.
def test_no_substitutions(self):
self.assertEqual(make('nosub.txt', self.mlist), """\
-This is a global template. It has no substitutions. It will be
-wrapped.
-""")
+This is a global template. It has no substitutions. It will be
+wrapped.""")
def test_substitutions(self):
self.assertEqual(make('subs.txt', self.mlist,
kind='very nice',
howmany='a few'), """\
-This is a very nice template. It has a few substitutions. It will be
-wrapped.
-""")
+This is a very nice template. It has a few substitutions. It will be
+wrapped.""")
def test_substitutions_no_wrap(self):
self.assertEqual(make('nowrap.txt', self.mlist, wrap=False,