def test_assert_renders(self):
        expected = 'output of template tag'
        self.assert_renders('{% load templatetag %}{% templatetag %}', expected)
Example template tag test to check correct rendering
dataset/ETHPy150Open garethr/django-test-extensions/src/test_extensions/examples/examples.py/Examples.test_assert_renders