2014-12-04 04:36:17 +08:00
|
|
|
from django.test import SimpleTestCase
|
2014-11-12 09:32:44 +08:00
|
|
|
|
2014-12-04 10:21:11 +08:00
|
|
|
from ..utils import render, setup
|
2014-11-12 09:32:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
multiline_string = """
|
|
|
|
Hello,
|
|
|
|
boys.
|
|
|
|
How
|
|
|
|
are
|
|
|
|
you
|
|
|
|
gentlemen.
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
2014-12-04 04:36:17 +08:00
|
|
|
class MultilineTests(SimpleTestCase):
|
2014-11-12 09:32:44 +08:00
|
|
|
|
|
|
|
@setup({'multiline01': multiline_string})
|
|
|
|
def test_multiline01(self):
|
|
|
|
output = render('multiline01')
|
|
|
|
self.assertEqual(output, multiline_string)
|