'Test the django.core.context_processors.tz template context processor.'

@skipIf(sys.platform.startswith(u'win'), u'Windows    uses    non-standard    time    zone    names')
def test_tz_template_context_processor(self):

    tpl = Template(u'{{    TIME_ZONE    }}')
    self.assertEqual(tpl.render(Context()), u'')
    self.assertEqual(tpl.render(RequestContext(HttpRequest())), (u'Africa/Nairobi' if pytz else u'EAT'))
