

def test__render(self):
    target = self._makeOne('', 'reportmail/test/report.txt')
    target.stored_text = ['test1', 'test2']
    target.base_context['additional'] = 'additional'
    actual = target.render()
    self.assertEqual(actual, 'test1\ntest2\n\nadditional\n')

dataset/ETHPy150Open hirokiky/django-reportmail/tests/test_reporter.py TestReporter.test__render/original