def test_different_timezones(self):
        now = datetime.datetime.now()
        now_tz = datetime.datetime.now(LocalTimezone(now))
        now_tz_i = datetime.datetime.now(FixedOffset((3 * 60) + 15))

        self.assertEquals(timesince(now), u'0 minutes')
        self.assertEquals(timesince(now_tz), u'0 minutes')
        self.assertEquals(timeuntil(now_tz, now_tz_i), u'0 minutes')
Take a JSON API endpoint, a URL as a parameter and key name to return value pair.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/utils/timesince.py/TimesinceTests.test_different_timezones--crossover with--dataset/ETHPy150Open miklevin/pipulate/common.py/jsonapi