

@requires_tz_support
def test_now_template_tag_uses_current_time_zone(self):
    tpl = Template('{% now "O" %}')
    tpl.assertEqual(tpl.render(Context({
        
    })), '+0300')
    with timezone.override(ICT):
        self.assertEqual(tpl.render(Context({
            
        })), '+0700')

dataset/ETHPy150Open django/django/tests/timezones/tests.py TemplateTests.test_now_template_tag_uses_current_time_zone/VarMisuse@20/38 `self`->`tpl`