def test_get_admin_log_templatetag_custom_user(self):
        context = Context({'user': CustomIdUser()})
        template_string = '{% load log %}{% get_admin_log 10 as admin_log for_user user %}'

        template = Template(template_string)

        # Rendering should be u'' since this templatetag just logs,
        # it doesn't render any string.
        self.assertEqual(template.render(context), '')
Regression test for ticket #20088: admin log depends on User model
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/admin_changelist/tests.py/AdminLogNodeTestCase.test_get_admin_log_templatetag_custom_user